mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 08:12:24 +00:00
Main now takes pending entries as changelog.d/<pr>-<slug>.md files (#787), so the entry leaves CHANGELOG.md for changelog.d/794-api-method-guard.md.
8 lines
459 B
Markdown
8 lines
459 B
Markdown
- The read-only query proxies state their method contract. `/api/flights`,
|
|
`/api/military` and `/api/route` answered any verb with the same body
|
|
while ignoring the request; they now answer `405 Method Not Allowed` to
|
|
anything but `GET`, the way `/api/geocode` and the other query proxies
|
|
already did, and declare `Allow: GET` with it the way `/api/radio/stations`
|
|
does. The refusal precedes rate limiting and any upstream call
|
|
(daikaginza, #794).
|