Skip to content

Any non-JSON file type is corrupted #11

@CaptainRewind

Description

@CaptainRewind

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions