You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We've had an issue with Water Butler being unable to read streams with chunked encoding.
If you look at the constructor of ResponseStreamReader(BaseStream) in waterbutler/core/streams/http.py you will see that if size is None and unsizable is False, the attempt to turn size into an int will fail. This seems to happen with chunked encoding. As a workaround for our testing, we just set self._size to None in that circumstance.
The text was updated successfully, but these errors were encountered:
That unsizable flag seems to be some leftover code from a long time ago. The only place where I could find it being used was here, and that code doesn't do that anymore. I'm not sure what the correct behavior is here yet, but I'll look into it.
We've had an issue with Water Butler being unable to read streams with chunked encoding.
If you look at the constructor of ResponseStreamReader(BaseStream) in waterbutler/core/streams/http.py you will see that if size is None and unsizable is False, the attempt to turn size into an int will fail. This seems to happen with chunked encoding. As a workaround for our testing, we just set self._size to None in that circumstance.
The text was updated successfully, but these errors were encountered: