HTTP Status code is server's response to a browser(client)'s request.
Types of HTTP Status Code:
1xxs - Informational responses - It shows that server is thinking through request.
2xxs - Success - It shows successfully compilation of request
3xxs - Redirection - It is used when we got redirected to some other page or URL
4xxs - Client Error - It is used when the requested page couldn't found.
5xxs - Server Error - It shows failure of server to complete the request from browser.
Some useful HTTP Status Codes are as follow:
HTTP Status Code 200 - OK - This code is an ideal status code for normal functioning page.
HTTP Status Code 301 - Permanent Redirect - This code is used when one URL needs to be redirected to other URL permanently.
HTTP Status Code 302 - Temporary Redirect - This code is same as 301 code but it is used there is a need of temporary redirect.
HTTP Status Code 404 - Not Found - This code is used when file or page that browser is requesting wasn't found by server.
HTTP Status Code 410 - Gone - This code is used when requested page or file is no longer available, means permanently gone.
HTTP Status Code 500 - Internal Server Error - This code shows classic server error and it will affect access to our site.
HTTP Status Code 503 - Service Unavailable - This code is used when everyone is asked to come back later. It is used when service is not available due to temporary overloading or maintenance.
Comments