문제

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.

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top