Top "Http-status-codes" questions

HTTP status codes are a set of standardized codes returned in an HTTP web response.

Is it wrong to return 202 "Accepted" in response to HTTP GET?

I have a set of resources whose representations are lazily created. The computation to construct these representations can take anywhere …

http-status-codes http-get
HTTP Status 424 or 500 for error on external dependency

I am trying to create a service that has 2 dependencies. One of the dependencies is internally managed while the 2nd …

rest http-status-codes
HTTP status code for temporarily unavailable pages

I'm redesigning my small business' website. I will be putting up a temporarily 'under construction' splash page. I know, I …

http http-status-codes
What's the difference between HTTP 301 and 308 status codes?

What's the difference between HTTP 301 and 308 status codes? 301 (Moved Permanently): This and all future requests should be directed to the …

http http-status-code-301 http-status-codes http-status-code-308
REST - When to use 400 ("Bad Request")

I have a resource like this sales/customers/{customerno}. If a client sends a PUT request to this resource I …

xml rest http-status-codes restful-architecture http-status-code-400
How do I use Fiddler to modify the status code in an HTTP response?

I need to test some client application code I've written to test its' handling of various status codes returned in …

http fiddler httpresponse http-status-codes
HTTP Status Code for database is down

I have a page on my web site that reports on the health of the site and sets an HTTP 200 …

http-status-codes
Http Redirection code 3XX in python requests

I am trying to capture http status code 3XX/302 for a redirection url. But I cannot get it because it …

python redirect python-requests http-status-codes
Jquery $.ajax statusCode Else

In a jquery Ajax call I am currently handling statusCode of 200 and 304. But I also have "Error" defined" To catch …

javascript jquery ajax http-status-codes
401 Unauthorized vs 403 Forbidden: Which is the right status code for when the user has not logged in?

After lots of Googling and Stackoverflowing, it still isn't clear to me because many articles and questions/answers were too …

http-status-code-403 http-status-codes http-status-code-401