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
If a server returns a 204 No Content including a Content-Encoding gzip header, Fuel will throw an EOFException, because it tries to read a gzip header from an empty body.
Oh I just meant to explain why it currently blows up. I followed the RFC very closely to implement everything. We then ran into non standard things android already does so no worries :)
Bug Report
Description
If a server returns a
204 No Content
including aContent-Encoding gzip
header, Fuel will throw anEOFException
, because it tries to read a gzip header from an empty body.To Reproduce
Steps to reproduce the behavior:
Expected behavior
I would expect Fuel to return an empty string here.
The text was updated successfully, but these errors were encountered: