Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Put Object 202 Response #42

Open
ghost opened this issue Nov 2, 2022 · 0 comments
Open

Put Object 202 Response #42

ghost opened this issue Nov 2, 2022 · 0 comments

Comments

@ghost
Copy link

ghost commented Nov 2, 2022

We have just started to receive 202 responses from Rackspace during a put_object in our asset sync at deployment. This results in our deployments failing. To resolve this we could alter the expected response codes to accept 201 and 202 like this:

params.merge!( :expects => [201, 202], :idempotent => !params[:request_block], :headers => headers, :method => 'PUT', :path => "#{Fog::Rackspace.escape(container)}/#{Fog::Rackspace.escape(object)}" )

Would you recommend doing this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants