12.2. HTTP introduction

发布时间 :2024-02-27 23:00:06 UTC      

HTTP protocol is the abbreviation of Hyper Text Transfer Protocol (Hypertexttransfer Protocol). It is a transport protocol used to transfer hypertext from a WWW:World Wide Web server to a local browser.

HTTP is a communication protocol based on TCP/IP to transfer data (HTML files, picture files, query results, etc.).

12.2.1. How HTTP works

The HTTP protocol works on the client-server architecture. As a HTTP client,the browser sends all requests to the HTTP server, the WEB server, through URL.

Web servers include: Apache server, IIS server (Internet Information Services) and so on.

After receiving the request, the Web server sends response information to the client.

The default port number for HTTP is 80, but you can also change it to 8080 or another port.

There are three points to note for HTTP:

  • HTTP is connectionless: connectionless means limiting the processing of onlyone request per connection. After the server processes the customer’s request and receives the customer’s reply, it disconnects. Transmission timecan be saved in this way.

  • HTTP is media independent: this means that any type of data can be sent overHTTP as long as the client and server know how to handle the data content. The client and server specify that the appropriate MIME-type content type.

  • HTTP is stateless: the HTTP protocol is stateless. Statelessness means that the protocol has no memory ability for transactions. The lack of state meansthat if the previous information is required for subsequent processing, it must be retransmitted, which may result in an increase in the amount of datatransmitted per connection. On the other hand, the server responds faster when it does not need previous information.

The following chart shows the HTTP protocol communication process:

Image0

Principles, Technologies, and Methods of Geographic Information Systems  102

In recent years, Geographic Information Systems (GIS) have undergone rapid development in both theoretical and practical dimensions. GIS has been widely applied for modeling and decision-making support across various fields such as urban management, regional planning, and environmental remediation, establishing geographic information as a vital component of the information era. The introduction of the “Digital Earth” concept has further accelerated the advancement of GIS, which serves as its technical foundation. Concurrently, scholars have been dedicated to theoretical research in areas like spatial cognition, spatial data uncertainty, and the formalization of spatial relationships. This reflects the dual nature of GIS as both an applied technology and an academic discipline, with the two aspects forming a mutually reinforcing cycle of progress.