HTTP内容长度和分块传输编码。有2GB限制吗? [英] HTTP Content-Length and Chunked Transfer-Encoding. Is there a 2GB Limit?

查看:303
本文介绍了HTTP内容长度和分块传输编码。有2GB限制吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

现代网络服务器是否支持HTTP 内容长度 超过2GB 4GB

Is a HTTP Content-Length over 2GB or 4GB supported by modern webservers?

HTTP Chunked 传输编码中的块如何? 个人HTTP块的长度是否超过 2GB

How about the chunks in HTTP Chunked Transfer Encoding? Can an individual HTTP chunk exceed 2GB in length?

我需要知道使用 32位整数或 64位整数

推荐答案

从我收集到的信息来看,64位限制是新的,特别是在Web浏览器中。 Chrome支持它们,也许是Opera,我看到一个尚未登陆的Firefox补丁。我读过帖子说IE返回负 Content-Length ,这意味着它可能会使用32位。

From what I have gathered, 64-bit limits are new, especially in the web browsers. Chrome supports them, Opera maybe, and I see a patch for Firefox that hasn't landed yet. I've read posts that say IE returns negative Content-Length, which means it's likely to use 32-bits.

64位HTTP长度看起来像未来,但我们还没有。

64-bit HTTP lengths looks like the future, but we aren't there yet.

这篇关于HTTP内容长度和分块传输编码。有2GB限制吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆