HTTP1.0 has three request methods: GET, POST, and HEAD methods;
- GET: request the specified page information and return the entity body
- POST: Submit data to the specified resource for processing request (submit form, upload file), POST request may lead to the creation of new resources/modification of existing resources.
- HEAD: GET request Similarly, only the response is returned but not specifically the content, for obtaining the header.
HTTP1.1 adds five new request methods: OPTIONS, PUT, DELETE, TRACE, CONNECTION
- OPTIONS: Allow the client to view the performance of the server
- PUT: The data transmitted from the client to the server replaces the content of the specified document;
- DELETE: request the server to delete the specified page
- TRACE: echo the request received by the server for testing or diagnosis
- CONNECTION: The HTTP/1.1 protocol is reserved for a proxy server that can change the connection to a pipe mode.