mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-10-04 00:00:37 -04:00
reset response when resetting to idle in the request
This commit is contained in:
parent
ba4f6d9b01
commit
61c82a0e1d
@ -165,7 +165,7 @@ module HTTPX
|
||||
def transition(nextstate)
|
||||
case nextstate
|
||||
when :idle
|
||||
|
||||
@response = nil
|
||||
when :headers
|
||||
return unless @state == :idle
|
||||
when :body
|
||||
|
Loading…
x
Reference in New Issue
Block a user