[TOC]

概述

文章参考:https://github.com/reorx/httpstat

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
frewen@FreweniMacBook  ~/03.ProgramStudy/09.Python/03.Sources/httpstat   master  python httpstat.py www.baidu.com
Connected to 61.135.169.125:80 from 10.60.128.127:55181

HTTP/1.1 200 OK
Accept-Ranges: bytes
Cache-Control: private, no-cache, no-store, proxy-revalidate, no-transform
Connection: keep-alive
Content-Length: 2381
Content-Type: text/html
Date: Sun, 28 Jun 2020 10:51:45 GMT
Etag: "588604c1-94d"
Last-Modified: Mon, 23 Jan 2017 13:27:29 GMT
Pragma: no-cache
Server: bfe/1.0.8.18
Set-Cookie: BDORZ=27315; max-age=86400; domain=.baidu.com; path=/

Body stored in: /var/folders/k7/zflh3t9n1w71jl4_tsfm3ysc0000gn/T/tmpWUR0ld

DNS Lookup TCP Connection Server Processing Content Transfer
[ 8ms | 28ms | 236ms | 1ms ]
| | | |
namelookup:8ms | | |
connect:36ms | |
starttransfer:272ms |
total:273ms