| 10 | |
| 11 | {{{ |
| 12 | $curl www.baidu.com -H "Transfer-Encoding: chunked" -H "Content-Length: -1" -I |
| 13 | HTTP/1.1 200 OK |
| 14 | Server: bfe/1.0.8.18 |
| 15 | Date: Tue, 05 Dec 2017 01:53:31 GMT |
| 16 | Content-Type: text/html |
| 17 | Content-Length: 277 |
| 18 | Last-Modified: Mon, 13 Jun 2016 02:50:50 GMT |
| 19 | Connection: Keep-Alive |
| 20 | ETag: "575e1f8a-115" |
| 21 | Cache-Control: private, no-cache, no-store, proxy-revalidate, no-transform |
| 22 | Pragma: no-cache |
| 23 | Accept-Ranges: bytes |
| 24 | }}} |
| 25 | {{{ |
| 26 | $curl nginx.org -H "Transfer-Encoding: chunked" -H "Content-Length: -1" -I |
| 27 | HTTP/1.1 400 Bad Request |
| 28 | Server: nginx/1.13.3 |
| 29 | Date: Tue, 05 Dec 2017 01:53:58 GMT |
| 30 | Content-Type: text/html; charset=utf-8 |
| 31 | Content-Length: 173 |
| 32 | Connection: close |
| 33 | }}} |