lib/httpx/connection/http2.rb in httpx-0.23.4 vs lib/httpx/connection/http2.rb in httpx-0.24.0

- old
+ new

@@ -312,9 +312,10 @@ if error ex = Error.new(stream.id, error) ex.set_backtrace(caller) response = ErrorResponse.new(request, ex, request.options) + request.response = response emit(:response, request, response) else response = request.response if response && response.is_a?(Response) && response.status == 421 ex = MisdirectedRequestError.new(response)