lib/httpx/session.rb in httpx-0.7.0 vs lib/httpx/session.rb in httpx-0.8.0
- old
+ new
@@ -45,10 +45,10 @@
def on_response(request, response)
@responses[request] = response
end
def on_promise(_, stream)
- log(level: 2, label: "#{stream.id}: ") { "refusing stream!" }
+ log(level: 2) { "#{stream.id}: refusing stream!" }
stream.refuse
end
def fetch_response(request, _, _)
@responses.delete(request)