{"action":"created","issue":{"url":"https://api.github.com/repos/Duke-Translational-Bioinformatics/duke-data-service-portal/issues/42","labels_url":"https://api.github.com/repos/Duke-Translational-Bioinformatics/duke-data-service-portal/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/Duke-Translational-Bioinformatics/duke-data-service-portal/issues/42/comments","events_url":"https://api.github.com/repos/Duke-Translational-Bioinformatics/duke-data-service-portal/issues/42/events","html_url":"https://github.com/Duke-Translational-Bioinformatics/duke-data-service-portal/issues/42","id":125006135,"number":42,"title":"Files should download with their filenames, as opposed to GUID","user":{"login":"erichhuang","id":386675,"avatar_url":"https://avatars.githubusercontent.com/u/386675?v=3","gravatar_id":"","url":"https://api.github.com/users/erichhuang","html_url":"https://github.com/erichhuang","followers_url":"https://api.github.com/users/erichhuang/followers","following_url":"https://api.github.com/users/erichhuang/following{/other_user}","gists_url":"https://api.github.com/users/erichhuang/gists{/gist_id}","starred_url":"https://api.github.com/users/erichhuang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erichhuang/subscriptions","organizations_url":"https://api.github.com/users/erichhuang/orgs","repos_url":"https://api.github.com/users/erichhuang/repos","events_url":"https://api.github.com/users/erichhuang/events{/privacy}","received_events_url":"https://api.github.com/users/erichhuang/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Duke-Translational-Bioinformatics/duke-data-service-portal/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/Duke-Translational-Bioinformatics/duke-data-service-portal/milestones/1","html_url":"https://github.com/Duke-Translational-Bioinformatics/duke-data-service-portal/milestones/January2016","labels_url":"https://api.github.com/repos/Duke-Translational-Bioinformatics/duke-data-service-portal/milestones/1/labels","id":1482477,"number":1,"title":"January2016","description":null,"creator":{"login":"erichhuang","id":386675,"avatar_url":"https://avatars.githubusercontent.com/u/386675?v=3","gravatar_id":"","url":"https://api.github.com/users/erichhuang","html_url":"https://github.com/erichhuang","followers_url":"https://api.github.com/users/erichhuang/followers","following_url":"https://api.github.com/users/erichhuang/following{/other_user}","gists_url":"https://api.github.com/users/erichhuang/gists{/gist_id}","starred_url":"https://api.github.com/users/erichhuang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erichhuang/subscriptions","organizations_url":"https://api.github.com/users/erichhuang/orgs","repos_url":"https://api.github.com/users/erichhuang/repos","events_url":"https://api.github.com/users/erichhuang/events{/privacy}","received_events_url":"https://api.github.com/users/erichhuang/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":2,"state":"open","created_at":"2016-01-04T14:59:00Z","updated_at":"2016-01-05T23:06:57Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-01-05T16:56:16Z","updated_at":"2016-01-06T19:53:28Z","closed_at":null,"body":"Also, should remember the file extension.\r\n\r\n![screenshot 2016-01-05 11 55 15](https://cloud.githubusercontent.com/assets/386675/12121425/456b5214-b3a3-11e5-83e8-cb688ee851b6.png)\r\n"},"comment":{"url":"https://api.github.com/repos/Duke-Translational-Bioinformatics/duke-data-service-portal/issues/comments/169439968","html_url":"https://github.com/Duke-Translational-Bioinformatics/duke-data-service-portal/issues/42#issuecomment-169439968","issue_url":"https://api.github.com/repos/Duke-Translational-Bioinformatics/duke-data-service-portal/issues/42","id":169439968,"user":{"login":"caseychoiniere","id":10411174,"avatar_url":"https://avatars.githubusercontent.com/u/10411174?v=3","gravatar_id":"","url":"https://api.github.com/users/caseychoiniere","html_url":"https://github.com/caseychoiniere","followers_url":"https://api.github.com/users/caseychoiniere/followers","following_url":"https://api.github.com/users/caseychoiniere/following{/other_user}","gists_url":"https://api.github.com/users/caseychoiniere/gists{/gist_id}","starred_url":"https://api.github.com/users/caseychoiniere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caseychoiniere/subscriptions","organizations_url":"https://api.github.com/users/caseychoiniere/orgs","repos_url":"https://api.github.com/users/caseychoiniere/repos","events_url":"https://api.github.com/users/caseychoiniere/events{/privacy}","received_events_url":"https://api.github.com/users/caseychoiniere/received_events","type":"User","site_admin":false},"created_at":"2016-01-06T19:53:28Z","updated_at":"2016-01-06T19:53:28Z","body":"Looks like this needs to be done on the server. A header needs to be set on the response that includes a content-type and content-disposition that includes the file name. Example: ```Content-Type: application/pdf\r\nContent-Disposition: inline; filename=\"filename.pdf\"```\r\nhttp://stackoverflow.com/questions/3102226/how-to-set-name-of-file-downloaded-from-browser\r\nhttp://stackoverflow.com/questions/6293893/how-to-force-files-to-open-in-browser-instead-of-download-pdf\r\n\r\nThis issue should be moved to DDS?"}}