Remove unnecessary normalization/fix addressable bug
This commit is contained in:
parent
ac5bef80aa
commit
6a37993df7
|
@ -240,7 +240,7 @@ module Google
|
||||||
return options[:connection].build_request(
|
return options[:connection].build_request(
|
||||||
method.to_s.downcase.to_sym
|
method.to_s.downcase.to_sym
|
||||||
) do |req|
|
) do |req|
|
||||||
req.url(Addressable::URI.parse(uri).normalize.to_s)
|
req.url(Addressable::URI.parse(uri).to_s)
|
||||||
req.headers = Faraday::Utils::Headers.new(headers)
|
req.headers = Faraday::Utils::Headers.new(headers)
|
||||||
req.body = body
|
req.body = body
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue