📄 readme.txt
字号:
Instructions on compiling and running ModifiedClient.java
first: input an argument for ModifiedCilent.java for example:www.baidu.com
then apply and run
Disply in Console window:
============================================================
www.baidu.com is listening to your request :
============================================================
second: input the code in Console window: GET / HTTP/1.0
Disply in Console window:
==========================================================================================
HTTP/1.0 200 OK
Date: Tue, 01 Apr 2008 11:25:01 GMT
Server: BWS/1.0
Content-Length: 2986
Content-Type: text/html
Cache-Control: private
Expires: Tue, 01 Apr 2008 11:25:01 GMT
Set-Cookie: BAIDUID=678881529CE3ECC2E496D4095976AEE8:FG=1; expires=Tue, 01-Apr-38 11:25:01 GMT; path=/; domain=.baidu.com
P3P: CP=" OTI DSP COR IVA OUR IND COM "
X-Cache: MISS from carnegie1
X-Cache-Lookup: MISS from carnegie1:3128
Via: 1.0 carnegie1:3128 (squid/2.6.STABLE16)
Connection: close
the number of Bytes that it send: 14
the number of Bytes that it send: 3438
Please input the file name to save the data :
===========================================================================================
from the response we has known that the number of Bytes that is sends and receives is 14 and 3438.
third: input a filename in Console window.for example: baidu.html
then in the folder of my project a file named "baidu.html" ,open it we will come into the baidu's homepage.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -