Remove unnecessary normalization/fix addressable bug
This commit is contained in:
parent
ff7ae9088d
commit
ba2f082495
|
@ -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