lib/httpx/adapters/webmock.rb in httpx-0.19.3 vs lib/httpx/adapters/webmock.rb in httpx-0.19.4
- old
+ new
@@ -17,9 +17,10 @@
#
module Plugin
class << self
def build_webmock_request_signature(request)
uri = WebMock::Util::URI.heuristic_parse(request.uri)
+ uri.query = request.query
uri.path = uri.normalized_path.gsub("[^:]//", "/")
WebMock::RequestSignature.new(
request.verb,
uri.to_s,