{"action":"created","issue":{"url":"https://api.github.com/repos/jimmynicol/image-resizer/issues/39","labels_url":"https://api.github.com/repos/jimmynicol/image-resizer/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/jimmynicol/image-resizer/issues/39/comments","events_url":"https://api.github.com/repos/jimmynicol/image-resizer/issues/39/events","html_url":"https://github.com/jimmynicol/image-resizer/issues/39","id":58250921,"number":39,"title":"Save data.ContentType to image object in S3 source","user":{"login":"knightcode","id":1806693,"avatar_url":"https://avatars.githubusercontent.com/u/1806693?v=3","gravatar_id":"","url":"https://api.github.com/users/knightcode","html_url":"https://github.com/knightcode","followers_url":"https://api.github.com/users/knightcode/followers","following_url":"https://api.github.com/users/knightcode/following{/other_user}","gists_url":"https://api.github.com/users/knightcode/gists{/gist_id}","starred_url":"https://api.github.com/users/knightcode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knightcode/subscriptions","organizations_url":"https://api.github.com/users/knightcode/orgs","repos_url":"https://api.github.com/users/knightcode/repos","events_url":"https://api.github.com/users/knightcode/events{/privacy}","received_events_url":"https://api.github.com/users/knightcode/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-19T18:48:40Z","updated_at":"2015-03-03T19:37:47Z","closed_at":null,"body":"Getting and setting the content type on the response would be nice."},"comment":{"url":"https://api.github.com/repos/jimmynicol/image-resizer/issues/comments/77017942","html_url":"https://github.com/jimmynicol/image-resizer/issues/39#issuecomment-77017942","issue_url":"https://api.github.com/repos/jimmynicol/image-resizer/issues/39","id":77017942,"user":{"login":"knightcode","id":1806693,"avatar_url":"https://avatars.githubusercontent.com/u/1806693?v=3","gravatar_id":"","url":"https://api.github.com/users/knightcode","html_url":"https://github.com/knightcode","followers_url":"https://api.github.com/users/knightcode/followers","following_url":"https://api.github.com/users/knightcode/following{/other_user}","gists_url":"https://api.github.com/users/knightcode/gists{/gist_id}","starred_url":"https://api.github.com/users/knightcode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knightcode/subscriptions","organizations_url":"https://api.github.com/users/knightcode/orgs","repos_url":"https://api.github.com/users/knightcode/repos","events_url":"https://api.github.com/users/knightcode/events{/privacy}","received_events_url":"https://api.github.com/users/knightcode/received_events","type":"User","site_admin":false},"created_at":"2015-03-03T19:37:47Z","updated_at":"2015-03-03T19:37:47Z","body":"For S3, when the file is read, it should have a content type set for it. It'd be nice to transfer this to the express.js Response object, respecting whatever manipulations might be made in between. Then the browser would show me the image instead of prompting me for a folder in which to download some unknown binary data. "}}