Http defines different methods for interaction with the server. There are four basic methods: GET, POST, PUT, and DELETE. The full name of a URL is a resource descriptor. We can think that a URL address is used to describe resources on a network,
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
HBase1.0.0 source code analysis-request processing process analysis using the Put operation as an example (1), hbase1.0.0putThe following code shows a simple code instance for HBase Put operations. The Connection connection = ConnectionFactory in
One, what is put request
The put request is a request that the server store a resource and use Request-uri as its identity, similar to post, but not commonly used, and put requests are relatively rare. This is not supported by HTML forms either. In
As shown in the following code, is a simple code instance of the HBase put operation, about connection connection = connectionfactory.createconnection (conf) in the code, which is near the previous blog HBase1.0.0 source analysis of the client
Configuration in 1.web.xmlConfiguration Org.springframework.web.filter.HiddenHttpMethodFilter: Can convert a POST request to a DELETE or put request-HiddenHttpMethodFilterorg.springframework.web.filter.HiddenHttpMethodFilterHiddenHttpMethodFilter/*2.
(Source: Http://www.tuicool.com/articles/Ermmmyn)HTTP request Method:Common methods: Get\post\head(1) Get method. Retrieving any information from the request URL flag, accessing the Web page by entering the URL in the address bar of the browser, the
The request method is a program that requests a certain Web page or is used for a specific URL.You can choose from the following types:
GET: Requests the specified page information and returns the entity principal.
HEAD: Only the header of the
Post,, put, etc. request methods in the HTTP protocol and some common errorsThe request method is a program that requests a certain Web page or is used for a specific URL. You can choose from the following types:GET: Requests the specified page
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
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.