Where the metadata is updated, but the content-type is reset to 
application/x-www-form-urlencoded.

Workaround: send an empty Content-Type header, only for the updateMetadata call.
You can merge this Pull Request by running:

  git pull https://github.com/rackerlabs/jclouds-labs-openstack 
fixes-metadata-contenttype

Or you can view, comment on it, or merge it online at:

  https://github.com/jclouds/jclouds-labs-openstack/pull/97

-- Commit Summary --

  * Fixes a bug with swift where the metadata is updated, but the content-type 
is reset to application/x-www-form-urlencoded.

-- File Changes --

    A 
openstack-swift/src/main/java/org/jclouds/openstack/swift/v1/blobstore/internal/FixContentTypeHeader.java
 (37)
    M 
openstack-swift/src/main/java/org/jclouds/openstack/swift/v1/features/ObjectApi.java
 (2)
    M 
openstack-swift/src/test/java/org/jclouds/openstack/swift/v1/features/ObjectApiMockTest.java
 (57)

-- Patch Links --

https://github.com/jclouds/jclouds-labs-openstack/pull/97.patch
https://github.com/jclouds/jclouds-labs-openstack/pull/97.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-openstack/pull/97

Reply via email to