This article is based on RFC2616 (http/1.1 specification), referencehttp://www.w3.org/Protocols/rfc2068/rfc2068http://www.w3.org/Protocols/rfc2616/rfc2616Http://www.ietf.org/rfc/rfc3229.txtTypically HTTP messages include client-to-server request messages and server-to-client response messages. These two types of messages consist of a starting line, one or more header fields, a blank line that is just the end of the head field, and an optional message
Turn from: http://www.cnblogs.com/yizhenfeng168/p/7078480.htmlIn this paper, according to RFC2616 (http/1.1 specification), reference
http://www.w3.org/Protocols/rfc2068/rfc2068
http://www.w3.org/Protocols/rfc2616/rfc2616
Http://www.ietf.org/rfc/rfc3229.txt
Typically, HTTP messages include the client's request message to the server and the server's response message to the client. The two types of messages consist of a starting row, one or more header
In this paper, according to RFC2616 (http/1.1 specification), reference
http://www.w3.org/Protocols/rfc2068/rfc2068
http://www.w3.org/Protocols/rfc2616/rfc2616
Http://www.ietf.org/rfc/rfc3229.txt
Typically, HTTP messages include the client's request message to the server and the server's response message to the client. The two types of messages consist of a starting row, one or more header fields, and an empty row and an optional message body that is
This article is based on RFC2616 (http/1.1 specification), referencehttp://www.w3.org/Protocols/rfc2068/rfc2068http://www.w3.org/Protocols/rfc2616/rfc2616Http://www.ietf.org/rfc/rfc3229.txtTypically HTTP messages include client-to-server request messages and server-to-client response messages. These two types of messages consist of a starting line, one or more header fields, a blank line that is just the end of the head field, and an optional message
This article is based on RFC2616 (http/1.1 specification), referencehttp://www.w3.org/Protocols/rfc2068/rfc2068http://www.w3.org/Protocols/rfc2616/rfc2616Http://www.ietf.org/rfc/rfc3229.txtTypically HTTP messages include client-to-server request messages and server-to-client response messages. These two types of messages consist of a starting line, one or more header fields, a blank line that is just the end of the head field, and an optional message
HTTP (hypertexttransferprotocol) is the abbreviation of Hypertext Transfer Protocol, it is used to transmit data of WWW mode, please refer to RFC2616 for details of HTTP protocol. The HTTP protocol uses a request/response model. The client sends a request to the server that contains the requested method, URI, protocol version, and a mime-like message structure that contains the request modifiers, customer information, and content. The server responds with a status line, which includes the versio
Network of Android series (ii) ---- HTTP request header and Response HeaderI. Introduction of HTTP headers: Correctly Setting HTTP headers helps search engines determine webpages and increase website access speeds. Generally, HTTP messages include the request message sent from the client to the server and the response message sent from the server to the client. The client sends a request to the server. The request
HTTP (hypertexttransferprotocol) is the abbreviation of Hypertext Transfer Protocol, it is used to transmit data of WWW mode, please refer to RFC2616 for details of HTTP protocol. The HTTP protocol uses a request/response model. The client sends a request to the server that contains the requested method, URI, protocol version, and a mime-like message structure that contains the request modifiers, customer information, and content. The server responds with a status line, which includes the versio
The Host header is a bound domain name, Host header is not required if no domain name exists
The so-called host header is called from the function of binding domain names in IIS. Generally, port 80 of an IP address on a Web server can only correspond to one website correctly and process access requests for one domain name. While the Web server does not use multip
This article is the HTTP Header page cache control and header commonly used instructions for a detailed analysis of the introduction, the need for friends to reference the nbsp;
The caching of the Web page is controlled by the "Cache-control" in the HTTP message header, and the common values are private, No-cache, Max-age, Must-revalidate, and so on, and the de
The most comprehensive HTTP header information analysis and HTTP header information analysis
HTTP header explanation
1. Accept: indicates the media type that the WEB Server accepts. */* indicates any type, and type/* indicates all child types of the type, type/sub-type.2. Accept-Charset: the browser declares the character set it receives.Accept-Encoding: indicate
Header (' http/1.1 OK '); OK normal access
Header (' http/1.1 404 Not Found '); Notifies the browser that the page does not exist
Header (' http/1.1 301 Moved permanently '); Set the address to be permanently redirected 301
Header (' location:http://www.ithhc.cn/'); Jump to a new address
In the development of PHP, we often need to use the header function to markThe header () function sends the original HTTP header to the client.The list of common header settings is as follows:Header' http/1.1 OK ');OK to access the header normally (' http/1.1 404 Not Found '
The cache of the Web page is controlled by the "Cache-control" in the HTTP message header, and the common values are private, No-cache, Max-age, must-revalidate, etc., and the default is private. Its function is divided into the following situations according to different ways of re-browsing:
(1) Open a new windowThe value is private, No-cache, Must-revalidate, and the server will be re-accessed when a new window is opened.
If you specify a max-age v
What is header information?Here is only a simple explanation, detailed look at the HTTP protocol.In the HTTP protocol, the server-side answer (response) consists of two parts: header information (headers) and body content, where the header information is not part of the
What's the use of header information?
The caching of the Web page is controlled by the "Cache-control" in the HTTP message header, the common value has private, No-cache, Max-age, must-revalidate, etc., the default is private. Its role is divided into the following situations according to different ways of re browsing:
(1) Open a new windowValue is private, No-cache, and Must-revalidate, the server will be accessed again when a new window is opened.
If the Max-age value is specified, the
This article provides a detailed analysis of HTTP message header webpage cache control and common header commands, for more information, see "Cache-control" in the HTTP message header, common values include private, no-cache, max-age, and must-revalidate. the default value is private. The function of browser review is divided into the following situations:
(1) o
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.