-
Bug
-
Resolution: Done
-
Major
-
3.0.6.Final
-
None
-
None
When wanting to read from a request with a Content-Length header that is a number, but a value bigger than Integer.MAX_VALUE (e.g. an upload of >2GB), I get a NumberFormatException. I think I've traced the origin back to the function mentioned in the issue subject, which is from my use case using InputStreamProvider.
In theory, I should be able to read arbitrary amounts of data from such an InputStream, right?
Might I be headed towards a spec issue here, i.e. Response only specifies int as length type?