Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Corrupted metadata 'Content-Type: image/svg+xml' #9161

Closed
cyberduck opened this issue Dec 15, 2015 · 3 comments
Closed

Corrupted metadata 'Content-Type: image/svg+xml' #9161

cyberduck opened this issue Dec 15, 2015 · 3 comments
Assignees
Labels
bug cloudfiles Rackspace CloudFiles fixed
Milestone

Comments

@cyberduck
Copy link
Collaborator

@dkocher created the issue

Hi All,

after uploading SVG files to Rackspace Cloudfiles, I see that the content-type is detected automatically, but instead of setting it to:

Content-Type: image/svg+xml

somehow the '+' sign is interpreted as whitespace character and it results in:

Content-Type: image/svg xml

As a workaround I can set the metadata after uploading manually.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

I cannot set the header being sent incorrect.

INFO  Session - PUT /v1/MossoCloudFS_59113590-c679-46c3-bf62-9d7c3d5176ee/test.cyberduck.ch/1706396a-3218-4ccc-a0d8-fb57aef4792c.svg HTTP/1.1
INFO  Session - Transfer-Encoding: chunked
INFO  Session - Content-Type: image/svg+xml

@cyberduck
Copy link
Collaborator Author

@dkocher commented

However the Content-Type header is displayed wrongly in the Metadata panel.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Upstream fix in (iterate-ch/java-openstack-swift#7).

@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug cloudfiles Rackspace CloudFiles fixed
Projects
None yet
Development

No branches or pull requests

2 participants