-
StackOverflow 文档
-
http-headers 教程
-
接受范围(响应)
-
服务器不支持范围
GET / HTTP/1.1
Host: example.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Connection: keep-alive
响应:
HTTP/1.1 200 OK
Date: Sat, 01 Jan 2000 01:00:00 GMT
Server: Apache/2.4.10 (Win32) OpenSSL/1.0.1h PHP/5.4.31
Keep-Alive: timeout=5, max=97
Connection: Keep-Alive
Content-Type: text/html
Accept-Ranges: none
Content-Length: 500