lib/cfoundry/v2/base.rb in cfoundry-0.3.39 vs lib/cfoundry/v2/base.rb in cfoundry-0.3.40

- old
+ new

@@ -137,10 +137,10 @@ def handle_response(response, accept) json = accept == :json case response.code - when 200, 201, 204, 302 + when 200, 201, 204, 301, 302, 307 if accept == :headers return response.headers end if json