lib/faraday/adapter/net_http.rb in faraday-0.8.1 vs lib/faraday/adapter/net_http.rb in faraday-0.8.2
- old
+ new
@@ -15,10 +15,11 @@
Errno::ECONNRESET,
Errno::EINVAL,
Net::HTTPBadResponse,
Net::HTTPHeaderSyntaxError,
Net::ProtocolError,
- SocketError
+ SocketError,
+ Zlib::GzipFile::Error,
]
NET_HTTP_EXCEPTIONS << OpenSSL::SSL::SSLError if defined?(OpenSSL)
def call(env)