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

[cloudsigma] Fix create request not expecting status 201

This commit is contained in:
Kaloyan Kanev 2013-03-27 15:57:20 +02:00
parent e61b81bf49
commit a77ccfbd1d

View file

@ -89,7 +89,7 @@ module Fog
end
def create_request(path, data, override_params={})
default_params = {:method => 'POST', :expects => [200, 202]}
default_params = {:method => 'POST', :expects => [200, 201, 202]}
override_params[:path] = path
override_params[:body] = data