Closed justincy closed 10 years ago
You're checking for a status code of 503 for bad gateway, but 502 is bad gateway. 503 is service unavailable and 504 is gateway timeout. You should probably check for all of those. See http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
fixed by #2
You're checking for a status code of 503 for bad gateway, but 502 is bad gateway. 503 is service unavailable and 504 is gateway timeout. You should probably check for all of those. See http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html