Alibabacloud.com offers a wide variety of articles about how to fix http status 404, easily find your how to fix http status 404 information here online.
When requesting remote files in Ajax or checking whether the remote files are out of chain, you need to know the Status feedback from the remote server to determine whether the files exist or not.Of course, when we browse webpages, we will also find that some files do not exist and are displayed as "404 error", which is the common HTTP Request
Http status code and status code
HTTP is a Request/Response network transmission protocol. When a Web page information or resource (Document) is required by a client application (browser, the website server returns the Status Code, which is usually displayed in data mode. Th
Details of various HTTP return status codes and return Status Codes
If a request sent to your server requires that a webpage on your website be displayed (for example, when a user accesses your webpage through a browser or crawls a webpage through Googlebot ), the server returns the HTTP
$ OK-[GET]: The server successfully returns the data requested by the user, the operation is idempotent (idempotent).
201 CREATED-[Post/put/patch]: User new or modified data succeeded.
202 Accepted-[*]: Indicates that a request has entered the background queue (asynchronous task)
204 NO CONTENT-[delete]: User deleted data successfully.
INVALID request-[Post/put/patch]: The user has made an error, the server does not make a new or modified data operation, the operation is idempote
Definition
HTTP status codeHTTP status code is a three-digit code used to indicate the HTTP response status of the Web server. It is defined by the RFC 2616 specification and has been extended by specifications such as RFC 2518, RFC 2817, RFC 2295, and RFC 2774.
The first
Successful status code:200– server successfully returned to Web page304– not modifiedFailed status code:404– The requested page does not exist503– Server is temporarily unavailable500– Server Internal ErrorThe following is not very common, remember that the above are OK, there are bugs and then addThe other status code
time of the server license. The customer can repeat the same request later. (New HTTP 1.1)
409
Conflict
It is usually related to PUT requests. The request cannot be successful because the request conflicts with the current status of the resource. (New HTTP 1.1)
410
Gone
The requested document is no longer available and the server do
request within the waiting time of the server license. The customer can repeat the same request later. (New HTTP 1.1)
409
Conflict
It is usually related to put requests. The request cannot be successful because the request conflicts with the current status of the resource. (New HTTP 1.1)
410
Gone
The requested document i
, and it needs to look at the HTTP version of the customer's degree.400 ~ 499--Client Error Status codeSometimes the client sends something that the server cannot handle, such as a malformed request message, or, most commonly, a non-existent URL.
Status code
Reason Phrases
Meaning
400
Bad Request
Used to tell the cl
1.1 message 1xx (informational 1xx) the Code indicates a temporary response. A temporary response is composed of status-line and optional titles, and is terminated by a blank line. No 1xx status code is defined in HTTP/1.0, so they are not legal responses to HTTP/1.0 requests. In fact, they are mainly used for l
proxy. Script Statement input and other operations. This response may also contain new meta information in the form of entity titles, which can be used by the documents in the active view of the current user agent. 1.3 Redirection (Redirection 3xx) This type of Status Code indicates that the user agent needs to perform further operations to complete the request. These operations are only performed when the request isGet Or Head Can be implemente
As an Internet developer, the meaning of the HTTP status returned by some servers must be well-understood, and only these status code one by one can be figured out, and all the problems encountered in the work are handled with ease. Well, let's look at the more common HTTP status
as a program developer, you should know the meaning of the HTTP status returned by some servers, and only make sure that the status code one by one is clear and that the various problems encountered in the work can be handled with ease. So let's take a look at the more common HTTP
yet processed it. HTTP Status 203 (non-authoritative) server has successfully processed the request, but the information returned may be from another source. HTTP Status 204 (no content) server successfully processed the request, but did not return any content. The server, HTTP
First,HTTP status CodeIf a request is sent to your server asking to display a webpage on your site (for example, when a user accesses your page through a browser or Googlebot crawls a webpage), the server returns an HTTP status code in response to the request.This status cod
OneHTTP status CodeIf a request is sent to your server asking to display a webpage on your site (for example, when a user accesses your page through a browser or Googlebot crawls a webpage), the server returns an HTTP status code in response to the request.This status code provides information about the
Http status code-reprint, status code reprint
1. Some common status codes are as follows: 2 200-the server successfully returns the webpage 404-the requested webpage does not exist. 503-the service is unavailable.
1 1xx (temporary response) 2 indicates the
.
502 Bad Gateway incomplete requests. The server receives an invalid response from the upstream server.
503 Service Unavailable incomplete requests. The server is temporarily overloaded or crashed.
504 Gateway Timeout Gateway times out.
505 the HTTP Version Not Supported server does Not support the "HTTP protocol" Version.
The following method can be used to set the
Http return status code summary, return Status Summary
400 Invalid syntax. syntax problems
401 Access denied. Access denied
402 Payment required. Must be complete
403 Request forbidden. The Request is forbidden.
404 Object not found. The Object is not found.
405 Method is not allowed. The Method is not allowed
406 No r
HTTP status code and status code
HTTP Status CodesThe HTTP Status codes allow a server to communicate the results of processing a client's request. TheseStatus codes are grouped into th
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.