Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: support 405 from POST /messages in broadcast fallback (#60)
Problem: a user reports that publishing a message falls because of a 405 error returned from `POST /messages`. The fallback only takes 404 into account, but a 405 is actually more likely because `GET /messages` exists. Solution: accept both 404 and 405 as a sign that the node does not support `POST /messages`.
- Loading branch information