Fixes #28
I didn't include any other headers, because I don't want to risk breaking anything. With this fix, the text-view preview works for JSON/GeoJSON files stored on S3, that previously wouldn't work because the signature was calculated without the Content-Type header that is sent by the JavaScript code.
Thank you! A major update to ckanext-cloudstorage is about to be finished, however I verified this was an issue even in the new version. Going to merge this for now for users who need an immediate fix.
Fixes #28 I didn't include any other headers, because I don't want to risk breaking anything. With this fix, the text-view preview works for JSON/GeoJSON files stored on S3, that previously wouldn't work because the signature was calculated without the
Content-Type
header that is sent by the JavaScript code.