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
I was wondering Zlib::DataError could be added in the list of exceptions. Occasionally, I end up with a Zlib::DataError: incorrect header check exception when calling an external service. Its probably a network error or maybe the Content-Encoding is set to deflate and something is wrong with the data. I don't really know :(
The faraday-gzip seems to handle it properly but its seems overkill to add this middleware when net-http already handles this kind of decompression.
Thanks
The text was updated successfully, but these errors were encountered:
I was wondering
Zlib::DataError
could be added in the list of exceptions. Occasionally, I end up with aZlib::DataError: incorrect header check
exception when calling an external service. Its probably a network error or maybe theContent-Encoding
is set todeflate
and something is wrong with the data. I don't really know :(The
faraday-gzip
seems to handle it properly but its seems overkill to add thismiddleware
whennet-http
already handles this kind of decompression.Thanks
The text was updated successfully, but these errors were encountered: