Skip to content

Commit d75218d

Browse files
simba-kjameswpm
authored andcommitted
Update 03.1.md
Fixed some of the typos
1 parent 3de4b5d commit d75218d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

en/03.1.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
Every time you open your browsers, type some URLs and press enter, you will see beautiful web pages appear on your screen. But do you know what is happening behind these simple actions?
44

5-
Normally, your browser is a client. After you type a URL, it takes the host part of the URL and sends it to a DNS server in order to get the IP address of the host. Then it connects to the IP address and asks to setup a TCP connection. The browser sends HTTP requests through the connection. The server server handles them and replies with HTTP responses containing the content that make up the web page. Finally, the browser renders bodies of the web pages and disconnects from the server.
5+
Normally, your browser is a client. After you type a URL, it takes the host part of the URL and sends it to a DNS server in order to get the IP address of the host. Then it connects to the IP address and asks to setup a TCP connection. The browser sends HTTP requests through the connection. The server handles them and replies with HTTP responses containing the content that make up the web page. Finally, the browser renders the body of the web page and disconnects from the server.
66

77
![](images/3.1.web2.png?raw=true)
88

99
Figure 3.1 Processes of users visit a website
1010

11-
A web server, also known as an HTTP server, uses the HTTP protocol to communicate with clients. All web browsers can be considered as clients.
11+
A web server, also known as an HTTP server, uses the HTTP protocol to communicate with clients. All web browsers can be considered clients.
1212

1313
We can divide the web's working principles into the following steps:
1414

@@ -17,7 +17,7 @@ We can divide the web's working principles into the following steps:
1717
- Server returns HTTP response packages to client. If the requested resources include dynamic scripts, server calls script engine first.
1818
- Client disconnects from server, starts rendering HTML.
1919

20-
This is a simple work flow of HTTP affairs -notice that the server closes connections after sending data to clients every time, then waits for the next request.
20+
This is a simple work flow of HTTP affairs -notice that the server closes its connections after it sends data to the clients, then waits for the next request.
2121

2222
## URL and DNS resolution
2323

0 commit comments

Comments
 (0)