lib/async/http/protocol/http1/response.rb in async-http-0.72.0 vs lib/async/http/protocol/http1/response.rb in async-http-0.73.0
- old
+ new
@@ -15,9 +15,11 @@
while parts = connection.read_response(request.method)
response = self.new(connection, *parts)
if response.final?
return response
+ else
+ request.send_interim_response(response.status, response.headers)
end
end
end
UPGRADE = 'upgrade'