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

Also available in: Atom PDF