Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1115,8 +1115,8 @@ <h4 id="4.2.3">URL</h4>
<p>处理HTTP请求时<code>url</code>模块使用率超高,因为该模块允许解析URL、生成URL,以及拼接URL。首先我们来看看一个完整的URL的各组成部分。</p>
<pre><code> href
-----------------------------------------------------------------
host path
--------------- ----------------------------
host path hash
--------------- ---------------------- -----
http: // user:pass @ host.com : 8080 /p/a/t/h ?query=string #hash
----- --------- -------- ---- -------- ------------- -----
protocol auth hostname port pathname search hash
Expand Down
4 changes: 2 additions & 2 deletions section/04_network.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,8 @@ HTTP响应本质上也是一个数据流,同样由响应头(headers)和响

href
-----------------------------------------------------------------
host path
--------------- ----------------------------
host path hash
--------------- ---------------------- -----
http: // user:pass @ host.com : 8080 /p/a/t/h ?query=string #hash
----- --------- -------- ---- -------- ------------- -----
protocol auth hostname port pathname search hash
Expand Down