RqLengthAware uses available in case of no content length is found, this is simply wrong, according to the docs this:
Returns an estimate of the number of bytes that can be read (or skipped over) from this input stream without blocking, which may be 0, or 0 when end of stream is detected.
The default implementation even return always 0....
instead it should simply return the stream as is if the content length can't be computed!
RqLengthAware
usesavailable
in case of no content length is found, this is simply wrong, according to the docs this:The default implementation even return always 0....
instead it should simply return the stream as is if the content length can't be computed!