lib/httpx/channel/http1.rb in httpx-0.0.5 vs lib/httpx/channel/http1.rb in httpx-0.1.0
- old
+ new
@@ -99,10 +99,10 @@
log(level: 2, color: :green) { "-> #{chunk.inspect}" }
response = @requests.first.response
response << chunk
- # dispatch if response.complete?
+ @has_response = response.complete?
end
def on_message_complete
log(level: 2) { "parsing complete" }
request = @requests.first