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

Any non-JSON file type is corrupted #11

Open
CaptainRewind opened this issue Aug 29, 2015 · 0 comments
Open

Any non-JSON file type is corrupted #11

CaptainRewind opened this issue Aug 29, 2015 · 0 comments

Comments

@CaptainRewind
Copy link

I have setup The S3 connector, and can GET and PUT objects. I have noticed that only json files show up correctly once uploaded and re-downloaded.

For example, if I do this:

curl -v -X PUT -H "Content-Type: application/json" "http://localhost:9089/buckets/mybucket/object?key=test.json" -d @/tmp/test.json

I can go to the AWS Console and download and view the json.

If, however, I try with a PNG or gzip file, the file has been corrupted when I re-download:

curl -X PUT -H "Content-Type: image/png" "http://localhost:9089/buckets/mybucket/object?key=test.png" -d @/tmp/test.png

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant