[Android development] HTTP protocol

HTTP protocol

The hypertext transfer protocol is a network application layer protocol based on the TCP/IP protocol.
The default port number is 80, and the version used is HTTP/1.1. It is based on the client/server model. The client actively sends out an HTTP request, and the server receives the HTTP request and returns the HTTP response result.

working principle

  1. Client connects to server
  2. Send HTTP request
  3. The server receives the request and returns an HTTP response
  4. Release connection
  5. The client parses the response content

Guess you like

Origin blog.csdn.net/weixin_42020386/article/details/113091005