HTTP Content-Length and Chunked Transfer-Encoding. Is there a 2GB Limit?
Asked Answered
A

1

5

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

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

I need to know to use 32-bit integers or 64-bit integers in my code.

Adila answered 10/1, 2012 at 23:3 Comment(0)
A
4

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-bit HTTP lengths looks like the future, but we aren't there yet.

Adila answered 11/1, 2012 at 1:29 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.