In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article mainly explains "what are the http status codes". Interested friends may wish to have a look at them. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn "what are the http status codes?"
Http status code at the beginning of 1
A status code that represents a temporary response and requires the requestor to continue with the operation.
100 (continue) the requestor shall continue to make the request. The server returns this code indicating that the first part of the request has been received and is waiting for the rest.
101 (switching protocol) the requestor has asked the server to switch the protocol, and the server has confirmed and is ready to switch.
Http status code at the beginning of 2
Indicates that the request was successful
200 successfully processed the request. This status code is usually returned.
201 the request was successful and the server created a new resource.
202 accept the request but did not create the resource
203 request to return another resource
The 204 server successfully processed the request but did not return anything
The 205 server successfully processed the request but did not return anything
206 process partial requests
3xx (redirect)
Redirect code, which is also a common code
300 (multiple selections) the server can perform a variety of actions for requests. The server can select an action based on the requestor (user agent), or provide a list of actions for the requestor to choose from.
The web page requested by 301 (permanent Mobile) has been permanently moved to a new location. When the server returns this response (the response to a GET or HEAD request), it automatically moves the requestor to a new location.
The 302 (temporary mobile) server currently responds to requests from web pages in different locations, but the requester should continue to use the original location for future requests.
The server returns this code when the requester should use separate GET requests for different locations to retrieve the response.
304 (unmodified) the requested web page has not been modified since the last request. When the server returns this response, the web page content is not returned.
305 (use proxy) requestors can only use agents to access the requested web page. If the server returns this response, it also indicates that the requestor should use a proxy.
The 307 (temporary redirect) server currently responds to requests from web pages in different locations, but the requester should continue to use the original location for future requests.
The http status code at the beginning of 4 indicates an error in the request
The 400 server does not understand the syntax of the request.
The 401 request requires authentication. For web pages that need to log in, the server may return this response.
The 403 server rejected the request.
The 404 server could not find the requested web page.
405 disables the method specified in the request.
406 cannot respond to a requested web page using the requested content feature.
407 this status code is similar to 401, but the specified requestor should authorize the use of the proxy.
The 408 server timed out while waiting for a request.
The 409 server collided while completing the request. The server must include information about the conflict in the response.
410 if the requested resource has been permanently deleted, the server returns this response.
The 411 server does not accept requests without valid content length header fields.
The 412 server did not meet one of the prerequisites set by the requestor in the request.
The 413 server cannot process the request because the request entity is too large for the server to handle.
The requested URI (usually the URL) is too long for the server to process.
415 the format of the request is not supported by the request page.
416 if the page cannot provide the requested scope, the server returns this status code.
The 417 server did not meet the requirements of the expected request header field.
Status codes at the beginning of 5 are not common, but we should know
500 (server internal error) the server encountered an error and was unable to complete the request.
The 501 (not yet implemented) server does not have the ability to complete the request. For example, this code may be returned when the server does not recognize the request method.
The 502 (error gateway) server, as a gateway or proxy, received an invalid response from the upstream server.
The 503 (service unavailable) server is currently unavailable (due to overload or downtime maintenance). Usually, this is only a temporary state.
The 504 (gateway timeout) server acts as a gateway or proxy, but does not receive a request from the upstream server in time.
505 (the HTTP version is not supported) the server does not support the HTTP protocol version used in the request.
At this point, I believe you have a deeper understanding of "what are the http status codes?" you might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.