For any HTTP request sent by the client to the Web server, regardless of the circumstances, each response has a status code and corresponding descriptive text represented by a 3-digit number. The status codes of different values embody different types of response states, and the range of response status codes is regulated by the following.
- 100~199: Information status code, on behalf of the request has been accepted, need to continue processing.
- 200~299: Success Status Code, which indicates that the request has been successfully received, understood, and accepted by the server.
- 300~399: Redirect status code, representing the need for the client to take further action to complete the request.
- 400~499: The client Error status code, which indicates that the client appears to have an error that prevents the server from processing.
- 500~599: Server error status code, which means that the server in the process of processing the request error or abnormal state occurs, it is also possible that the server is aware that the current hardware and software resources can not complete the processing of the request.
Learn from:http://www.cnblogs.com/artech/p/restful-web-api-01.html
http--Response Request Status code