What are the status codes returned by the HTTP protocol?
Explain the meaning of all common status codes in detail
(recommended collection)
We doInternet marketing, definitely need to post frequently.
doingWeb PromotionDuring the process, various HTTP protocol status codes are often encountered on websites.
a lot ofnew mediaPeople, I don't know the meaning of these returned http status codes very well, and I often get confused...
In fact, each line of HTTP corresponding status code has its meaning.
Common status codes returned by the http protocol are as follows:
- 200
- 301
- 301
- 403
- 404
- 500
- ……
List of all responses with http status codes
The following is the corresponding comparison table of http status codes:
status | statusText | Description |
---|---|---|
0** | - | not initialized |
1** | - | Request received, continue processing |
100 | Continue | Clients must continue to make requests |
101 | Switching protocols | The client asks the server to convert the HTTP protocol version according to the request |
2** | - | Operation successfully received, analyzed, accepted |
200 | OK | Successful transaction |
201 | Created | Prompt to know the URL of the new file |
202 | accepted | Accepted and processed, but processing not completed |
203 | Non-Authoritative Information | Return information is uncertain or incomplete |
204 | no content | The request is received, but the return information is empty |
205 | Reset content | The server has completed the request, the user agent MUST reset the currently viewed file |
206 | Partial content | The server has completed the GET request of some users |
3** | - | Completion of this request must be further processed |
300 | Multiple choices | The requested resource is available in multiple places |
301 | Moved Permanently | delete request data |
302 | Found | Request data found at another address |
303 | See Other | Advise customers to visit other URLs or access methods |
304 | Not Modified | The client has performed a GET, but the file has not changed |
305 | Use proxy | The requested resource must be obtained from the address specified by the server |
306 | The code used in the previous version of HTTP is no longer used in the current version | |
307 | Temporary Redirect | Declare the temporary deletion of the requested resource |
4** | - | The request contains a syntax error or cannot be completed |
400 | Bad Request | Bad requests, such as syntax errors |
401 | Unauthorized | Request authorization failed |
402 | Payment Required | Keep valid ChargeTo header responses |
403 | Forbidden | The request is not allowed (the resource is unavailable due to permission settings on the file or directory on the server) |
404 | Not Found | No file, query or URI found (the specified resource was not found) |
405 | Method Not Allowed | The method defined by the user in the Request-Line field is not allowed |
406 | Not Acceptable | According to the Accept drag sent by the user, the requested resource is not accessible |
407 | Proxy Authentication Required | Similar to 401, the user must first be authorized on the proxy server |
408 | Request timeout | The client did not complete the request within the time specified by the user |
409 | Conflict | The request cannot be completed for the current resource state |
410 | Gone | This resource is no longer on the server and there is no further reference |
411 | Length Required | Server rejects request for user-defined Content-Length attribute |
412 | Precondition Faiice | One or more request header fields are incorrect in the current request |
413 | Request Entity Too Large | The requested resource is larger than the size allowed by the server |
414 | Request-URI Too Long | The requested resource URL is longer than the server allows |
415 | Unsupported Media Type | Request resource does not support request item format |
416 | Requested Range Not Suitable | The request contains the Range request header field. There is no range indication value within the current request resource range, and the request does not contain the If-Range request header field. |
417 | Expectation Failed | The server does not meet the expected value specified by the request Expect header field. If it is a proxy server, it may be that the next-level server cannot meet the request. |
5** | - | The server failed to perform a fully valid request |
500 | Internal Server Error | The server generated an internal error |
501 | Not Implemented | The server does not support the requested function |
502 | Bad Gateway | The server is temporarily unavailable, sometimes to prevent overloading the system |
503 | Service Unavailable | Server overloaded or suspended for maintenance |
504 | Gateway Timeout | The gateway is overloaded, the server uses another gateway or service to respond to the user, and the waiting time is set to a longer value |
505 | HTTP Version Not Supported | The server does not support or refuses to support the HTTP version specified in the request header |
12029 | an unknown error occurred while processing the request on the server. the status code returned from the server was : 12029 | Reason: The network is blocked. Refresh it and you will know |
It is hoped that the http status code responses shared above will respond to theE-commerceMy friends also helped ^_^
Hope Chen Weiliang Blog ( https://www.chenweiliang.com/ ) shared "What are the HTTP protocol return status codes?Explain in detail the meaning of all responses of common status codes", which is helpful to you.
Welcome to share the link of this article:https://www.chenweiliang.com/cwl-556.html
Welcome to the Telegram channel of Chen Weiliang's blog to get the latest updates!
📚 This guide contains huge value, 🌟This is a rare opportunity, don’t miss it! ⏰⌛💨
Share and like if you like!
Your sharing and likes are our continuous motivation!