mirror of
https://github.com/lostisland/faraday.git
synced 2025-08-29 00:03:58 -04:00
Add Zlib::GzipFile::Error to the list of errors that may be raised by net/http
Closes jnunemaker/twitter#276
This commit is contained in:
parent
ffa01e253a
commit
2274fe2105
@ -17,7 +17,8 @@ module Faraday
|
||||
Net::HTTPBadResponse,
|
||||
Net::HTTPHeaderSyntaxError,
|
||||
Net::ProtocolError,
|
||||
SocketError
|
||||
SocketError,
|
||||
Zlib::GzipFile::Error,
|
||||
]
|
||||
|
||||
NET_HTTP_EXCEPTIONS << OpenSSL::SSL::SSLError if defined?(OpenSSL)
|
||||
|
Loading…
x
Reference in New Issue
Block a user