Skip to content

Commit 85d4807

Browse files
committed
Update README.md
1 parent 9f57b7c commit 85d4807

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

README.md

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,11 @@ Data
4747

4848
### 2.2 HttpServer
4949

50-
#### 执行指令
50+
#### 2.2.1 执行指令
5151

5252
`java -jar /path/to/HttpServer.jar [OPTIONS]...`
5353

54-
#### 具体语法
54+
#### 2.2.2 具体语法
5555

5656
```
5757
SYNOPSIS
@@ -68,7 +68,7 @@ OPTIONS
6868
The default value is 10000
6969
```
7070

71-
#### 启动信息
71+
#### 2.2.3 启动信息
7272

7373
若运行正常,则会显示启动信息,包含:
7474
- Server 运行日志
@@ -93,11 +93,11 @@ SERVER: The server is now running
9393

9494
### 2.3 HttpClient
9595

96-
#### 执行指令
96+
#### 2.3.1 执行指令
9797

9898
`java -jar /path/to/HttpClient.jar <URL> [OPTIONS]...`
9999

100-
#### 具体语法
100+
#### 2.3.2 具体语法
101101

102102
```
103103
SYNOPSIS
@@ -126,7 +126,7 @@ OPTIONS
126126
e.g.: User-Agent:AbaAba/0.1
127127
```
128128

129-
#### 执行信息
129+
#### 2.3.3 执行信息
130130

131131
若执行正常,则会显示
132132
- Client 执行日志
@@ -143,6 +143,8 @@ OPTIONS
143143
如下所示:
144144

145145
```
146+
/* 直接显示 Body 内容 */
147+
146148
CLIENT: Client has connect to the host
147149
SOCKET[localhost127.0.0.1:8080]: Message sent 0.097656 KB
148150
@@ -167,9 +169,11 @@ CLIENT: Request complete
167169
<<
168170
<< You got the place!!!
169171
```
170-
*直接显示 Body 内容*
172+
171173

172174
```
175+
/* 显示 Body 存储路径 */
176+
173177
>> ==================== HTTP Request Message ==================== <<
174178
>> GET /OS/2022/ HTTP/1.1
175179
>> Accept: */*
@@ -193,5 +197,4 @@ CLIENT: Request complete
193197
<<
194198
<< Body saved at:
195199
<< file:///.../Data/Client/Cache/jyywiki.cn/OS/2022/index/cache.html
196-
```
197-
*显示 Body 存储路径*
200+
```

0 commit comments

Comments
 (0)