lib/httpx/connection/http2.rb in httpx-0.18.6 vs lib/httpx/connection/http2.rb in httpx-0.18.7

- old
+ new

@@ -156,14 +156,10 @@ while (request = @pending.shift) break unless send(request) end end - def headline_uri(request) - request.path - end - def handle(request, stream) catch(:buffer_full) do request.transition(:headers) join_headers(stream, request) if request.state == :headers request.transition(:body) @@ -211,10 +207,10 @@ def set_protocol_headers(request) { ":scheme" => request.scheme, ":method" => request.verb.to_s.upcase, - ":path" => headline_uri(request), + ":path" => request.path, ":authority" => request.authority, } end def join_headers(stream, request)