Class: Down::Httpx
- Inherits:
-
Object
- Object
- Down::Httpx
- Defined in:
- lib/webhookdb/http.rb
Instance Method Summary collapse
Instance Method Details
#_original_response_error! ⇒ Object
114 |
# File 'lib/webhookdb/http.rb', line 114 alias _original_response_error! response_error! |
#response_error!(response) ⇒ Object
115 116 117 118 119 |
# File 'lib/webhookdb/http.rb', line 115 def response_error!(response) # For some reason, Down's httpx backend uses TooManyRedirects for every status code... raise Down::NotModified if response.status == 304 return self._original_response_error!(response) end |