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

Riak CS should respond '400 Bad request' on multipart completion if the request has no part item. [JIRA: RCS-156] #1100

Closed
Tracked by #1103
ksauzz opened this issue Mar 19, 2015 · 3 comments

Comments

@ksauzz
Copy link
Contributor

ksauzz commented Mar 19, 2015

API incompatibility issue which is found by this test.

Although Amazon S3 respond 400 Bad request if multipart completion request has no part item, Riak CS accept the request.

A response sample from S3.

 HTTP/1.1 400 Bad Request
 x-amz-request-id: 7DCAB2138707FE68
 x-amz-id-2: hgAmdxlfDD7YxWsoktlpUx38KltSbSr4SXvjPi6wSQOPtAmnYMQYKYMuaLpvJ7Qn
 Content-Type: application/xml
 Date: Thu, 19 Mar 2015 16:23:46 GMT
 Connection: close
 Server: AmazonS3

<Error><Code>MalformedXML</Code><Message>The XML you provided was not well-formed or did not validate against our published schema</Message><RequestId>7DCAB2138707FE68</RequestId><HostId>hgAmdxlfDD7YxWsoktlpUx38KltSbSr4SXvjPi6wSQOPtAmnYMQYKYMuaLpvJ7Qn</HostId></Error>
@Basho-JIRA Basho-JIRA changed the title Riak CS should respond '400 Bad request' on multipart completion if the request has no part item. Riak CS should respond '400 Bad request' on multipart completion if the request has no part item. [JIRA: RCS-156] Mar 19, 2015
@shino shino added the Bug label Jan 19, 2016
@kuenishi kuenishi added this to the 2.1.2 milestone Feb 10, 2016
@jadeallenx
Copy link

OK, so it looks like the test is supposed to do the following:

  • Initiate a multipart upload
  • Send 0 upload parts
  • Send the "completed" upload message

Is my reading of this test case correct?

@kuenishi
Copy link
Contributor

Yes, you're right, Mark.

@Basho-JIRA
Copy link

See #1304

_[posted via JIRA by Mark Allen]_

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

No branches or pull requests

5 participants