Remove unnecessary normalization/fix addressable bug

This commit is contained in:
Steven Bazyl 2012-09-05 13:30:46 -07:00
parent ac5bef80aa
commit 6a37993df7
1 changed files with 1 additions and 1 deletions

View File

@ -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