This blog is going to be my database for verifying the HTTP status codes that we will be seeing in our day to day life. As we know when ever we go with developing an ASP.Net or any browser based application and deploying on to the IIS Web Server we will be using these status codes to check for the issues and handle the status codes in the application.
In IIS Http status codes are saved in the IIS logs where we can check for the specific GET or the POST request and fetch the status code for the particular request. Status codes are as below. [more]
Status Code:
1XX – Information
- 100 – Continue.
- 101 – Switching protocols.
2XX – Success Message
- 200 – OK. The client request has succeeded.
- 201 – Created.
- 202 – Accepted.
- 203 – Nonauthoritative information.
- 204 – No content.
- 205 – Reset content.
- 206 – Partial content
3XX – Redirection
- 301 – Moved permanently.
- 302 – Object moved.
- 304 – Not modified.
- 307 – Temporary redirect.
4XX – Error Message
- 400 – Bad request.
- 401 – Access denied.
- 403 – Forbidden.
- 404 – Not found.
- 405 – Method Not Allowed.
- 406 – Browser does not accept the MIME type of the requested page.
- 408 – Request timed out.
- 412 – Precondition failed.
5XX – Server Error Message
- 500 – Internal server error.
- 501 – Header values specify a configuration that is not implemented.
- 502 – Web server received an invalid response while acting as a gateway or proxy.
- 503 – Service unavailable.