Status Code
Description
100
ContinueThe initial request has been accepted, and the customer should continue to send the rest of the request
101
Switching protocolsThe server converts a client-compliant request to another protocol.
200
OKIndicates that the request is successful and the request information is c
As described in PHPBIBLE by Mr. Peng Wuxing, the header can send the Status header. for example, a 404 error cannot be found in the user's browser, but I tried it. Later, I checked the relevant http information on w3.org and finally found out how to output the Status code (Status) SyntaxHighlig.
According to Mr. Peng W
100 the initial request for continue has been accepted, and the customer shall continue to send the rest of the request. (New HTTP 1.1)
101 switching protocols server converts a client-compliant request to another protocol (New in HTTP 1.1)
200 OK everything is normal, and the response document to the get and post requests follows.
The 201 created server has created a document and the location header provides its URL.
202 accepted has accepted the req
2.3.2 HTTP Status Response code
2.3.2.1 1**: Request received, continue processing
100--customer must continue to make a request
101--client requires server to convert HTTP protocol version on request
2.3.2.2 2**: Successful operation received, analysis, acceptance
200--Trading Success201--prompt to know the URL of the new file
202--accepted and processed, but pr
As described in Mr. Pengwuchen's PHP BIBLE, the header can send a status header, such as
Can let the user browser appear the file cannot find the 404 error, but I tried this is not possible. Later I went to w3.org to check the relevant information on the HTTP, finally tried out how to header out status code (status),
As described in Mr. Pengwuchen's PHP BIBLE, the header can send a status header, such as
header ("status:404 not Found");
?gt;
can make the user's browser appear file cannot find 404 error, but I tried this is not possible.
later I went to w3.org to check the relevant information on HTTP, finally tried out how to header out the status
One, 1XXThe class status code information indicates: a temporary response. Clients should be prepared to receive one or more 1XX responses before they receive a regular response
100
Continue
The initial request has been accepted and the customer should continue to send the remainder of the request. (HTTP 1.1 new)
The client should continue to send the request. This temporary r
Status Code Category:?? 1XX: Information class, indicates the customer sent the request service correct in processing?? 2XX: Successful class, the server successfully received the request?? 3XX: Redirect class, the server found more than one request content, you need the user to select the operation again?? 4XX: Client error class, for outgoing request server cannot process?? 5XX: Server error class, unable
According to Mr. Peng Wuxing's PHP Le, the header can send the Status header, as shown in
In this way, the user's browser can see the 404 error that the file cannot be found, but I tried this. Later, I checked the relevant http information on w3.org and finally found out how to output the Status code (Status) in the H
should be replaced with a new URI
302
Found
Temporary move. Similar to 301. But resources are only temporarily moved. The client should continue to use the original URI
60V
See other
See other addresses. Similar to 301. Viewing with Get and post requests
304
Not Modified
Not modified. The requested resource is not modified and no resources are returned when the server returns this statu
1XX: InformationThe continue server only receives partial requests, but once the server does not reject the request, the client should continue to send the remaining requests.101 Switching Protocols Server Conversion protocol: The server translates the client's request to a different protocol.2XX: SuccessA successful request (followed by an answer document for Get and post requests)The 201 created request is created and the new resource is created.202
100: Continue the client should continue to send the request. The client should continue to send the remainder of the request, or ignore the response if the request has been completed.101: Conversion protocol After sending the last empty line of this response, the server will switch to those protocols defined in the upgrade message header. Similar measures should be taken only when switching to a new protocol is more beneficial.102: Continue processin
Status code meaning100 the client should continue to send the request. This temporary response is used to inform the client that some of its requests have been received by the server and are still not rejected. The client should continue to send the remainder of the request, or ignore the response if the request has been completed. The server must send a final response to the client after the request is com
, similar to the 301 code that responds to the GET and HEAD requests, automatically transfers the requestor to a different location, but you should not use this code to tell Googlebot that a page or site has moved because Googlebot continues to crawl the original location and index it.4XX (Error request)The 400 (Error request) server does not understand the syntax of the request.401 (not authorized) Request
Continue the initial request has been accepted, the customer should continue to send the remainder of the request
101 Switching Protocols Server translates the client's request to another protocol
All OK, the answer document for Get and post requests is followed.
The 201 Created Server has created the document, and the location header gives its URL.
202 Accepted has accepted the request, but the processing has not been completed.
203 Non-aut
What is the HTTP status code, which is also a very high-frequency interview problem.Generally everyone knows 404 page does not exist, 500 server error, 301 redirect, 302 Temporary redirect, 200ok,401 not authorized what.If just a simple answer, may only let the interviewer give you a fifty or sixty-point answer, not enough to impress the interviewer, in order to demonstrate their good HTTP knowledge, you ma
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.