Actions
Bug #21128
opendo not persist aws-chunked content-encoding
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
When an object is PUT with Content-Encoding: aws-chunked, rgw is persisting this header. The result is that when the same object is GET'ed, it has the Content-Encoding: aws-chunked header, even though the content is not encoded. This incorrect header confuses some clients.
The correct behaviour would be to strip aws-chunked from the CE before this is persisted, which is what AWS does. See their doc http://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-streaming.html
S3 will store the resulting object without the aws-chunked encoding. Therefore, when you retrieve the object it will not be aws-chunked encoded.
And by observation AWS does indeed strip it. See the two attached files which show the headers for rgw vs. AWS.
Files
Actions