One: Format request for HTTP request information and response information: ( 1 Request Line (2) Request header information (3) Request principal information (can not) (4) The protocol request method used to request the path of a request method with a blank line between the header information and the principal information is 3 parts: GET POST put DELETE TRACE, protocol for options: currently HTTP/1.1 0.9,1. 0 is largely unused.
Second: The meaning of the Status code representation
The server cannot complete a clearly valid request.
| Status code |
definition |
Description |
| 1XX |
Information |
Received request, continue processing |
| 2XX |
Success |
Operation successfully received, understood and accepted |
| 3XX |
Redirect |
In order to complete the request, further steps must be taken |
| 4XX |
Client error |
Request syntax is either wrong or not fully satisfied. |
| 5XX |
Server-side error | TD valign= "Top" width= "265" >
200– server successfully returned to Web page
301/2-Permanent/Temporary redirection
304 Not modified– unmodified
Maintaining the original request data in 307 redirects
Failed status code:
404– The requested page does not exist
503– Server is temporarily unavailable
500– Server Internal Error
Method and status code of HTTP protocol