http-headers - 放置 HTTP 连接的现实问题 : Header at the end

标签 http-headers httpconnection transparentproxy

将 HTTP Connection: 字段放在 header 末尾是否存在任何已知问题?

来自标准 ( RFC2616, section 4.2 ):

it is "good practice" to send general-header fields first (which includes Connection), followed by request-header or response-header fields, and ending with the entity-header fields.

如果我违反了 Connection HTTP header 的“良好实践”,我会受到惩罚吗?

最佳答案

这只是“良好实践”,而不是要求。 HTTP 实现需要支持以任何顺序出现的 header 。

关于http-headers - 放置 HTTP 连接的现实问题 : Header at the end,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8651009/

相关文章:

c# - 使用 MVC5 允许来自不同域的帧

java - 如何在J2ME 中使用HTTP 范围 header ?

android - 在 Android 应用程序中存储 cookie 或 session 的正确方法是什么?

php - Tor 网络爬虫

web-services - 使用我的网络服务的客户如何绕过他们的 ISP 的透明代理缓存以确保他们的请求到达我的服务器?

cookies - abcpdf HttpAdditionalHeaders cookies

http - 避免缓存 http 响应

amazon-web-services - 如何在 Cloudformation 中验证 API 网关中的 header ?