Method: HTTPX::Plugins::Retries::RequestMethods#response=
- Defined in:
- lib/httpx/plugins/retries.rb
#response=(response) ⇒ Object
245 246 247 248 249 250 251 252 253 254 255 256 |
# File 'lib/httpx/plugins/retries.rb', line 245 def response=(response) if @partial_response if response.is_a?(Response) && response.status == 206 response.from_partial_response(@partial_response) else @partial_response.close end @partial_response = nil end super end |