帶有首選項 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