12种状态码

  • 随便访问404
  • 输入错误的host 400
  • 正常 200
  • 自定义方法 405
  • 请求URI过长 414
  • Range: bytes=10-11111111 206(Date、Cache-Control、E-Tag、Expires、Content-Location和Vary)
  • Range: bytes=111110-11111111 请求范围无法满足416
  • Expect: 100-continue返回100
  • Content-Length: 1234567890987过长返回413
  • HTTP版本不支持 505
  • If-Match: "12345" 返回412
  • IF-None-MATCH: "64dbafc8-267"用返回的E-Tag

无状态码

GET / \r\n
Host: example.com\r\n\r\n