lib/cfoundry/v1/base.rb in cfoundry-0.3.39 vs lib/cfoundry/v1/base.rb in cfoundry-0.3.40
- old
+ new
@@ -154,10 +154,10 @@
def handle_response(response, accept)
json = accept == :json
case response.code
- when 200, 204, 302
+ when 200, 201, 204, 301, 302, 307
if accept == :headers
return response.headers
end
if json