Bug#849440: udd: Please use HTTP 503 for "Current system load is too high"
Package: qa.debian.org
Severity: normal
User: qa.debian.org@packages.debian.org
Usertags: udd
Hi,
While using the UDD bugs interface today, I got a """Current system
load (49.52) is too high. Please retry later!""" error.
I noticed that it is returned with a "HTTP 200 OK" status, so
automatic processes will assume the request went well. Furthermore,
you will always get HTML even if you request YAML[1], so any one
automatically processing gets "garbage" sent to their next step in the
pipeline due to this bug.
Thanks,
~Niels
[1] In the absence of a well-defined API for errors using an HTML
error page is fine (provided they are not served with a HTTP 20X
code).
Reply to: