Open
Bug 1574737
Opened 6 years ago
Updated 3 years ago
Hardhatting of BMO breaks API calls
Categories
(bugzilla.mozilla.org :: API, enhancement)
Tracking
()
NEW
People
(Reporter: gcox, Unassigned)
References
Details
During the recent BMO hardhat, calls to /rest/ went through the blanket hardhat'ing, which returned a 302 -> 200 -> image page, instead of a JSON reply that API handlers would expect.
While taking the site offline is going to be inevitable at times, there is nothing in the API docs to indicate what sort of reply to expect during a hardhat, which means scripting can't handle this gracefully.
Please consider updating (the API + the hardhat process) to include a friendly way to indicate the API is unavailable.
You need to log in
before you can comment on or make changes to this bug.
Description
•