mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-08-10 00:01:27 -04:00
if request done sending the body, consider it done
This commit is contained in:
parent
39fbf0223c
commit
39aa1375f4
@ -158,6 +158,8 @@ module HTTPX
|
||||
end
|
||||
|
||||
def join_body(stream, request)
|
||||
return if request.empty?
|
||||
|
||||
chunk = @drains.delete(request) || request.drain_body
|
||||
while chunk
|
||||
next_chunk = request.drain_body
|
||||
|
Loading…
x
Reference in New Issue
Block a user