You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see that here in the code s3deploy sets the content-type header.
But for JSON files, the header becomes application/octet-stream in my bucket, which seems to be the basic header for arbitrary binary data from what I know. The proper header would be application/json for JSON files.
For me this is relevant because now Firefox and Chrome download the JSON file from my website each time, instead of allowing people to see the file's content. I attribute that to the inproper header.
The text was updated successfully, but these errors were encountered:
I see that here in the code s3deploy sets the content-type header.
But for JSON files, the header becomes
application/octet-stream
in my bucket, which seems to be the basic header for arbitrary binary data from what I know. The proper header would beapplication/json
for JSON files.For me this is relevant because now Firefox and Chrome download the JSON file from my website each time, instead of allowing people to see the file's content. I attribute that to the inproper header.
The text was updated successfully, but these errors were encountered: