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:
parent
0e305bfed3
commit
bd06dfce74
2 changed files with 0 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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")
|
||||
|
|
Loading…
Add table
Reference in a new issue