As a web development it is necessary to familiarize yourself with the request headers and the response headers of common HTTP. For example, the request header Content-type specified the content of the request, if the type is
Introduction to HTTPThe HTTP protocol is an abbreviation for the Hyper Text Transfer Protocol (Hypertext Transfer Protocol), which is used to transfer hypertext to the local browser from the World Wide Web (www:world Wide Web) server.HTTP is a
HTTP request Header Overview (HttpServletRequest) An HTTP client (for example, a browser) that must indicate the type of request (typically get or post) when sending a request to the server. If necessary, the client can also choose to send another
Js| Request 5.1 HTTP request Header Overview
An HTTP client, such as a browser, must indicate the type of request (typically get or post) when sending a request to the server. If necessary, the client can also choose to send another request header.
Js|servlet| Request
5.1 http request headers Overview
An HTTP client, such as a browser, must indicate the type of request (typically get or post) when sending a request to the server. If necessary, the client can also choose to send another
Request
5.1 http request headers Overview
An HTTP client, such as a browser, must indicate the type of request (typically get or post) when sending a request to the server. If necessary, the client can also choose to send another request header.
5.1 HTTP Request Headers overview
An HTTP client, such as a browser, must indicate the type of request (typically get or post) when sending a request to the server. If necessary, the client can also choose to send another request header. Most
For a more detailed understanding of HTTP request headers and response headers, see the requests section below
Header
explain
Example
Accept
Specify what types of content clients can receive
The browser determines how to display the returned message body Content based on Content-Type. The following describes the Content-type, that is, the Type of the HTTP request header, if you are interested in content-type, you must know in advance
This article briefly summarizes the HTTP request headers and response headers, and uses the response headers in some web development cases.1. HTTP request HeaderAccept: The browser uses this header to tell the server what type of data it supports.
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.