手机版
你好,游客 登录 注册 搜索
背景:
阅读新闻

HTTP/1.1 标准得以更新

[日期:2014-06-08] 来源:oschina.net   作者:Linux [字体: ]

IETF 刚刚发布了很多新的 RFCs 用以更新 HTTP/1.1,包括:

这些文档让原来的 HTTP/1.1 变得过时,对一个 HTTP 极客来说,这事儿很大!

RFC 2616, 已经推出 15 年了,而 HTTP/2.0 还在开发中。推出的更新主要包括:

  • Clarifications around dealing with unexpected whitespace, which should fix response splitting vulnerabilities.

  • The limit of two connections per server has been removed.

  • HTTP/0.9 support has been dropped.

  • Default charset of ISO-8859-1 has been removed.

  • Servers are no longer required to handle all Content-* header fields.

  • Content-Range has been explicitly banned in PUT requests.

  • It's now suggested to use the about:blank uri in the Referer header when no referer exists, to distinguish between "there was no referrer" and "I don't want to send a referrer".

  • The 204, 404, 405, 414 and 501 status codes are now cachable.

  • The status codes 301 and 302 have been changed to allow user agents to rewrite the method from POST to GET. This is a good example of a case where everybody has been (incorrectly) already doing this, and the spec now reflects the real world implementation.

  • The Location header can now contain relative uri's as well as fragment identifiers.

  • Content-MD5 has been removed.

还有什么我漏掉的吗?

本文永久更新链接地址http://www.linuxidc.com/Linux/2014-06/102843.htm

linux
相关资讯       HTTP  HTTP/1.1 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款