-
Notifications
You must be signed in to change notification settings - Fork 984
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
Zlib::BufError: buffer error #991
Comments
@mattandayo since the last stack trace call is on |
A Some questions:
Since Faraday is raising an exception, it may not be that useful in debugging this. A full There's the possibility that the Zlib error is raised because require 'pp'
res = conn.post do |req|
req.url 'end_point'
req.body = 'json'
end ; nil # this prevents irb from calling res.inspect
pp res.headers |
at least faraday should catch this error and re-raise as Faradayish error ? just saw the same while doing a http get:
|
Basic Info
Issue description
I have a rails app with requesting a api by http.
See example below:
I succeeded the way that is requesting with the same content by curl, but I didn't succeeded the way with using faraday.
client.post
raisedZlib::BufError
.See example below:
Is there any settings in Faraday that I'm missing ?
Any help would be greatly appreciated. Thanks
The text was updated successfully, but these errors were encountered: