Computer network HTTP: status code

  • HTTP response message
    • + Version of a simple phrase HTTP status code + interpret status codes: Status Line
    • status code:
      • 1xx represent notification information, such as the request is being processed or received
      • 2xx indicates success, such as accepting or know
      • 3xx redirect representation, such as to fulfill the request must also take further action
      • 4xx error indicates that the client, such as the request has the wrong syntax or can not be completed
      • 5xx error indicates that the server, such as server failure can not fulfill the request
  • Common status codes

    State line Explanation
    HTTP/1.1 202 Accepted accept
    HTTP/1.1 400 Bad Request bad Request
    HTTP/1.1 404 Not Found Can not find
    HTTP/1.1 301 Moved Permanently Permanent transfer of the

Guess you like

Origin www.cnblogs.com/xiaobaizzz/p/12302012.html