1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

[rackspace] removing :host from list of request parameters. See PR #2223 for details.

This commit is contained in:
Kyle Rames 2013-10-09 08:28:35 -05:00
parent 0e305bfed3
commit bd06dfce74
2 changed files with 0 additions and 2 deletions

View file

@ -79,7 +79,6 @@ module Fog
def request_params(params)
params.merge({
:headers => headers(params),
:host => endpoint_uri.host,
:path => "#{endpoint_uri.path}/#{params[:path]}"
})
end

View file

@ -68,7 +68,6 @@ Shindo.tests('Fog::Rackspace::Service', ['rackspace']) do
REQUEST_HASH = {
:path=>"/endpoint/my_service",
:headers=>{"Content-Type"=>"application/json", "Accept"=>"application/json", "X-Auth-Token"=>"my_auth_token"},
:host=>"fog.io"
}.freeze
uri = URI.parse("http://fog.io/endpoint")