lib/httpx/adapters/webmock.rb in httpx-1.3.1 vs lib/httpx/adapters/webmock.rb in httpx-1.3.2
- old
+ new
@@ -18,10 +18,10 @@
uri.path = uri.normalized_path.gsub("[^:]//", "/")
WebMock::RequestSignature.new(
request.verb.downcase.to_sym,
uri.to_s,
- body: request.body.each.to_a.join,
+ body: request.body,
headers: request.headers.to_h
)
end
def build_webmock_response(_request, response)