Note: This article is a personal study excerpt, the original address is: http://javaeedevelop.iteye.com/blog/1725299An HTTP request was a class consisting of HTTP style requests, request lines, request methods, request URL, header fields, and body
Http get, post, and head descriptions
Get: Request the specified page information and returns the Object Body.Head: only request the first part of the page.Post: The request Server accepts the specified document as a new subordinate object
Introduction to get, post, and head in the HTTP protocol2008-05-10 14:15GET: requests the specified page information and returns the entity Principal.HEAD: only the header of the page is Requested.POST: the requesting server accepts the specified
Today's article discusses how to get and process post request and head data.Tools:Firefox browser and Firebug plugin.
(Other such as Httpfox,live HTTP head, Fiddler,httpwatch also line)1. View analysis landing page HTML code to see if there is an
GET: Requests the specified page information and returns the entity principal.HEAD: Only the header of the page is requested.POST: The requesting server accepts the specified document as a new subordinate entity for the identified URI.PUT:
The http/1.1 standard has been a widely used and prevailing standard since its inception in 1999.Related documentsRfc2616:hypertext Transfer Protocol--http/1.1In RFC6585, the status codes 428, 429, 431, 511 are added inRFC2616 developed a series of
"Message" Understanding the HTTP Protocol's Request/response (request response) Model family CatalogIntroduction Request/Response modelHttp://www.cnblogs.com/engraver-lxw/p/7550514.html"principle" Understanding the HTTP Protocol's Request/response
Head schoolbag for HTTP request information, request head schoolbag
The head schoolbag contains important information related to HTTP requests, such as ip, host, url, and client, as shown in the following table:
Variable name
Value
GET: Requests the specified page information and returns the entity principal. HEAD: Only the header of the page is requested.POST: The requesting server accepts the specified document as a new subordinate entity for the identified URI.PUT:
HTTP client Request and service solutionIntroductionHTTP is an object-oriented protocol belonging to the application layer, which is suitable for distributed hypermedia information System because of its simple and fast way. It was proposed in 1990,
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.