Here we are only familiar with the http module API in nodejs. We generally use a third-party framework, such as Express, during the development process. It encapsulates more simple APIs for building http servers.
I. Opening Analysis
First of all,
Here we are only familiar with the http Module API in nodejs. we generally use a third-party framework, such as Express, during the development process. It encapsulates more simple APIs for building http servers.
I. opening analysis
First of all,
Programming One: little B has recently been fascinated by string processing techniques, he has designed various processing methods, and computed the properties of strings. This is no exception, he defines a new method of character substitution.
HTTP status code and status code. HTTP status code Daquan, status code Daquan reference from RFC2616, and RFC2518, RFC2817, RFC2295, RFC2774, RFC4918 and other standard extensions. Several common STATUSCODE1 HTTP status codes are represented in red
The previous article recorded how to implement the route, this document how to achieve request,response. Request Processing RequestsPHPclassrequest{Private $request _vars; Private $data; Private $http _accept; Private $method; Private $ID; Public
We often encounter 404, 500, 302 and other hints, what exactly do they mean? In addition to these common status codes, what are some of the possible status codes that we have not encountered yet? Here I made a summary, share with you.
HTTP Status
The following table lists common HTTP 1.1 statuses.CodeAnd their corresponding status information and meaning.
Exercise caution when using status code that only supports HTTP 1.1, because many browsers only Support HTTP 1.0. If you use the status
when the Web application runs in error, there will be a corresponding HTTP status code to match the error that occurred,theWeb Server will return the corresponding page according to the status code, common the http status code is as follows: £ º The
HTTP State code (HTTP status codes)Some of the common status codes are: A 1xx (temporary response) represents a temporary response and requires a status code for the requester to continue the operation. Code description100 (continued) The
The more ideal method of interpretation should be defined by the expression pattern of "state: Task (target) + process + performance (or feature)".Full-textIn "Pragmatic Ajax A Web 2.0 Primer" accidentally see the introduction of Readystae state,
1XX (Temporary response)A status code that represents a temporary response and requires the requestor to continue the operation.100 (continued) The requesting person shall continue to make the request. The server returns this code to indicate that
This blog post is about the status code in the HTTP protocol:
What is a status code?A status code refers to a response message that is returned in an HTTP response. Indicates the type of message associated with a number.
2. Status Code
Some of the common status codes are: $-Server successfully returned to Web page404-The requested page does not exist503-Service Not availableAll State explanations:1XX (Temporary response)A status code that represents a temporary response and
Information Reference Baidu Entry (HTTP status code), in order to learn, organized a bitHTTP status code (3-digit code): This is the language in which information is exchanged between the server and the client.1. Message (1-word header): request
1XX (Temporary response)A status code that represents a temporary response and requires the requestor to continue the operation.Code description100 (continued) The requesting person shall continue to make the request. The server returns this code to
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
HTTP status CodeWhen a viewer accesses a webpage, the browser of the viewer makes a request to the server where the page is located. When a Web page is received and displayed by the browser, the server on which the page resides returns a message
HTTP status codes (various error code collections)Continue the initial request has been accepted and the customer should continue to send the remainder of the request. (HTTP 1.1 new)101 Switching Protocols Server translates the client's request to
OK
301 Moved Permanently
302 Found
304 Not Modified
307 Temporary Redirect
Request
401 Unauthorized
403 Forbidden
404 Not Found
410 Gone
Internal Server Error
501 Not implemented
ContinueThe initial
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.