Popular HTTP response status code in the web development
Posted in Experience & Notes on 12/01/2009 08:16 pm by ycTINThe popular HTTP response code with simple description:
2xx Success
200 OK
Good status, server return successful
3xx Redirection
301 Moved Permanently
Permanently redirect to new URL, better in the SEO (Recommend)
302 Found
Temporary redirect to new URL(Default)
304 Not Modified
The request resource has not been modified since last requested. Browser will load the content from cached (IE may not)
4xx Client Error
400 Bad Request
The request contains bad syntax or cannot be fulfilled
403 Forbidden
Access denied by server
404 Not Found
Requested resource is not found, may be a invalid URL or resource is not exists in the server.
5xx Server Error
500 Internal Server Error
Some error found in the current request. (Microsoft IIS bu default return this on error)
503 Service Unavailable
Server busy or service suspension
More Information
http://en.wikipedia.org/wiki/List_of_HTTP_status_codes
Related posts:
- [PHP] Web Proxy – PHProxy PHProxy is free and open source web proxy application, under...
- Windows Live Writer – Image Upload Not Supported by Weblog (Wordpress) Yesterday, I update my blog via Windows Live Writer. But...
- [PHP] Detect and handle execution timeout error Sometime php will throw unhandled exception, e.g. over maximum execution...
- The country lists – Both database and dropdown list version for development Some time you may need to display the country for...
- [PHP] How to call webservice without WSDL So simple, see below. server.php <?php class TestWebService { function...
Tags: 301, 403, 404, 500, HTTP, Redirect, Response, Server, Web

