logo
  • 教程列表
  • SO官方文档
  • 接受请求)
    • 仅 HTML 类型
    • 匹配所有文本类型
    • 带有首选项 texthtml 的 texthtml 和 applicationxml
    • 一种类型优先于另一种类型
  1. StackOverflow 文档
  2. http-headers 教程
  3. 接受请求)
  4. 仅 HTML 类型

仅 HTML 类型

Created: November-22, 2018

请求:“ 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
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Connection: keep-alive

客户端将接受 text-html 的 Content-Types

  • 匹配所有文本类型
  • 接受请求)

Copyright © 2018. All right reserved

tastones.com 备案号:鲁ICP备18045372号-1

  • 关于我们
  • 免责声明