Skip to content

Put Object 202 Response #42

@ghost

Description

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions