Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

exception ZLib::DataError ? #49

Open
ericproulx opened this issue Jan 20, 2025 · 0 comments
Open

exception ZLib::DataError ? #49

ericproulx opened this issue Jan 20, 2025 · 0 comments

Comments

@ericproulx
Copy link

ericproulx commented Jan 20, 2025

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant