Popular HTTP response status code in the web development

The 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:

  1. [PHP] Web Proxy – PHProxy PHProxy is free and open source web proxy application, under...
  2. Windows Live Writer – Image Upload Not Supported by Weblog (Wordpress) Yesterday, I update my blog via Windows Live Writer. But...
  3. [PHP] Detect and handle execution timeout error Sometime php will throw unhandled exception, e.g. over maximum execution...
  4. The country lists – Both database and dropdown list version for development Some time you may need to display the country for...
  5. [PHP] How to call webservice without WSDL So simple, see below. server.php <?php class TestWebService { function...


1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...
Tags: , , , , , , , ,  

Leave a Reply