News for hackers. Stuff that matters.
Re:Show HN: Dead simple photo sharing by oops on Saturday December 14, 2013 @02:03PM (#6906654)
The code/library/service responsible for storing the original file on S3 is most likely setting "response-content-disposition" to "attachment" when it stores the file on S3. That tells S3 to deliver the file with "Content-disposition: attachment" in the HTTP headers which is what causes browsers to save to disk instead of display.

You want "Content-disposition: inline" or no content-disposition header.

There are no comments on this comment yet.