带有首选项 texthtml 的 texthtml 和 applicationxml
请求:“ http://example.com ”
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;q=1.0,application/xml;q=0.9
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Connection: keep-alive
客户端将接受 text-html 和 application / xml 的 Content-Types,但它更喜欢 text / html