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

rgw: Ensure xmlns is consistent on S3 responses. #8526

Merged
merged 1 commit into from Apr 17, 2016

Conversation

robbat2
Copy link
Contributor

@robbat2 robbat2 commented Apr 11, 2016

At least one S3 client is overly strict about requiring the xmlns to be present
in server responses. Let's be strict about what we send, and continue to be lax
about what we receive.

  • Put correct XMLNS in a define instead of repeating it.
  • Correct XMLNS hostname: s/doc.s3.amazonaws.com/s3.amazonaws.com/
  • Add XMLNS where it was missing:
    -- CORSConfiguration
    -- CopyObjectResult (see S3QL#190)
    -- ListMultipartUploadsResult

S3QL bug #190: https://bitbucket.org/nikratio/s3ql/issues/190/sq3l-should-not-rely-on-xmlns-declarations

Signed-off-by: Robin H. Johnson robin.johnson@dreamhost.com

At least one S3 client is overly strict about requiring the xmlns to be present
in server responses. Let's be strict about what we send, and continue to be lax
about what we receive.

- Put correct XMLNS in a define instead of repeating it.
- Correct XMLNS hostname: s/doc.s3.amazonaws.com/s3.amazonaws.com/
- Add XMLNS where it was missing:
-- CORSConfiguration
-- CopyObjectResult (see S3QL#190)
-- ListMultipartUploadsResult

S3QL bug ceph#190: https://bitbucket.org/nikratio/s3ql/issues/190/sq3l-should-not-rely-on-xmlns-declarations

Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
@theanalyst
Copy link
Member

+1 for this

@robbat2
Copy link
Contributor Author

robbat2 commented Apr 13, 2016

Jenkins: retest this please

@mattbenjamin
Copy link
Contributor

+1

@robbat2
Copy link
Contributor Author

robbat2 commented Apr 15, 2016

@liewegas merge for Jewel?

@yehudasa
Copy link
Member

lgtm

@liewegas liewegas merged commit d34d9b4 into ceph:master Apr 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants