What are the status codes returned by the HTTP protocol?Explain the meaning of all common status codes in detail

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:

XMLHttpRequest object status and statusText attribute comparison table
statusstatusTextDescription
0**-not initialized
1**-Request received, continue processing
100ContinueClients must continue to make requests
101Switching protocolsThe client asks the server to convert the HTTP protocol version according to the request
2**-Operation successfully received, analyzed, accepted
200OKSuccessful transaction
201CreatedPrompt to know the URL of the new file
202acceptedAccepted and processed, but processing not completed
203Non-Authoritative InformationReturn information is uncertain or incomplete
204no contentThe request is received, but the return information is empty
205Reset contentThe server has completed the request, the user agent MUST reset the currently viewed file
206Partial contentThe server has completed the GET request of some users
3**-Completion of this request must be further processed
300Multiple choicesThe requested resource is available in multiple places
301Moved Permanentlydelete request data
302FoundRequest data found at another address
303See OtherAdvise customers to visit other URLs or access methods
304Not ModifiedThe client has performed a GET, but the file has not changed
305Use proxyThe 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
307Temporary RedirectDeclare the temporary deletion of the requested resource
4**-The request contains a syntax error or cannot be completed
400Bad RequestBad requests, such as syntax errors
401UnauthorizedRequest authorization failed
402Payment RequiredKeep valid ChargeTo header responses
403ForbiddenThe request is not allowed (the resource is unavailable due to permission settings on the file or directory on the server)
404Not FoundNo file, query or URI found (the specified resource was not found)
405Method Not AllowedThe method defined by the user in the Request-Line field is not allowed
406Not AcceptableAccording to the Accept drag sent by the user, the requested resource is not accessible
407Proxy Authentication RequiredSimilar to 401, the user must first be authorized on the proxy server
408Request timeoutThe client did not complete the request within the time specified by the user
409ConflictThe request cannot be completed for the current resource state
410GoneThis resource is no longer on the server and there is no further reference
411Length RequiredServer rejects request for user-defined Content-Length attribute
412Precondition FaiiceOne or more request header fields are incorrect in the current request
413Request Entity Too LargeThe requested resource is larger than the size allowed by the server
414Request-URI Too LongThe requested resource URL is longer than the server allows
415Unsupported Media TypeRequest resource does not support request item format
416Requested Range Not SuitableThe 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.
417Expectation FailedThe 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
500Internal Server ErrorThe server generated an internal error
501Not ImplementedThe server does not support the requested function
502Bad GatewayThe server is temporarily unavailable, sometimes to prevent overloading the system
503Service UnavailableServer overloaded or suspended for maintenance
504Gateway TimeoutThe 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
505HTTP Version Not SupportedThe server does not support or refuses to support the HTTP version specified in the request header
12029an unknown error occurred while processing the request on the server. the status code returned from the server was : 12029Reason: 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!

🔔 Be the first to get the valuable "ChatGPT Content Marketing AI Tool Usage Guide" in the channel top directory! 🌟
📚 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!

 

Comment

Your email address will not be published. Required fields * Callout

scroll to top