Project

General

Profile

Actions

Bug #13022

closed

Ceph/Radosgw v0.94 Content-Type versus Content-type

Added by Fangzhe Chang over 8 years ago. Updated over 8 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

I'm using S3 Java SDK to access Ceph/Radosgw v0.94 (Hammer). After having copied an object to a different bucket, I used the SDK method getContentType() to retrieve the 'Content-Type' information stored in the metadata. However, it seems that S3 SDK expects the metadata “Content-Type” whereas RGW responds with “Content-type”. Therefore S3 SDK can no longer find the mime type of the objects. The same code used to work with Ceph/Radosgw v0.87 (Giant).

Can somebody take a look?

Thanks

Fangzhe

Actions #1

Updated by Yuan Zhou over 8 years ago

This gets fixed in the master already but not backported yet: 1b9fbffdc24160251b96cec820d62fb2a12b6eab

Actions #2

Updated by Nathan Cutler over 8 years ago

  • Status changed from New to Duplicate

This appears to be a duplicate of #12939.

Hammer and firefly backports are in progress.

Actions

Also available in: Atom PDF