[LIBCLOUD-612] Customize HTTP vendor prefix for Google Storage#356
[LIBCLOUD-612] Customize HTTP vendor prefix for Google Storage#356sfriesel wants to merge 1 commit intoapache:trunkfrom
Conversation
|
Unittests passed on 2.7 and I successfully uploaded an object with metadata and retrieved them again. |
Google storage uses/expects custom headers like meta data and storage class to be prefixed with "x-goog" instead of "x-amz". This enables use of object tagging in the Google Storage provider.
4b4ed2b to
ab85ad5
Compare
|
@Kami Is anything missing? I could provide the whole debug log of the interaction or maybe some credentials for testing if needed |
|
@sfriesel I'll have a look asap. |
|
I need to spend some more time testing this myself. The reason for this is that we are using S3 compatible API which requires you to send From your pull request, it seems like you can use |
|
I just tested your changes and verified it works correctly. While testing the changes I also noticed meta_data is only returned when retrieving information for a single object ( I will update documentation and add a note about this known limitation. |
|
Merged into trunk. Thanks! |
https://issues.apache.org/jira/browse/LIBCLOUD-612
Google storage uses/expects custom headers like meta data
and storage class to be prefixed with "x-goog" instead of
"x-amz". This enables use of object tagging in the Google
Storage provider.