{"action":"created","issue":{"url":"https://api.github.com/repos/projectkudu/kudu/issues/1634","labels_url":"https://api.github.com/repos/projectkudu/kudu/issues/1634/labels{/name}","comments_url":"https://api.github.com/repos/projectkudu/kudu/issues/1634/comments","events_url":"https://api.github.com/repos/projectkudu/kudu/issues/1634/events","html_url":"https://github.com/projectkudu/kudu/issues/1634","id":96895167,"number":1634,"title":"Content-Disposition header when clicking the download button","user":{"login":"snobu","id":6472374,"avatar_url":"https://avatars.githubusercontent.com/u/6472374?v=3","gravatar_id":"","url":"https://api.github.com/users/snobu","html_url":"https://github.com/snobu","followers_url":"https://api.github.com/users/snobu/followers","following_url":"https://api.github.com/users/snobu/following{/other_user}","gists_url":"https://api.github.com/users/snobu/gists{/gist_id}","starred_url":"https://api.github.com/users/snobu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snobu/subscriptions","organizations_url":"https://api.github.com/users/snobu/orgs","repos_url":"https://api.github.com/users/snobu/repos","events_url":"https://api.github.com/users/snobu/events{/privacy}","received_events_url":"https://api.github.com/users/snobu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-07-23T20:08:50Z","updated_at":"2015-09-16T00:40:35Z","closed_at":null,"body":"\r\nTrying to download an .XML or .XSL can turn into a very entertaining afternoon without a `Content-Disposition` header. I'm being offered a nice prettified render of the file content or an in-browser XML-parser error if the markup is not valid, but not prompted to save any file.\r\n\r\n![capture2](https://cloud.githubusercontent.com/assets/6472374/8860499/eea472be-318c-11e5-87a0-238609681a37.png)\r\n\r\n![cap3](https://cloud.githubusercontent.com/assets/6472374/8860888/6863ffc8-318f-11e5-9bb2-171c5e03cf29.PNG)\r\n\r\n![capture](https://cloud.githubusercontent.com/assets/6472374/8860480/be8ee92e-318c-11e5-9b69-b06d972c9faf.PNG)\r\n\r\nIs this by design or can we change it to say `Content-Disposition: attachment; filename=file.xml;`?"},"comment":{"url":"https://api.github.com/repos/projectkudu/kudu/issues/comments/140588335","html_url":"https://github.com/projectkudu/kudu/issues/1634#issuecomment-140588335","issue_url":"https://api.github.com/repos/projectkudu/kudu/issues/1634","id":140588335,"user":{"login":"davidebbo","id":556238,"avatar_url":"https://avatars.githubusercontent.com/u/556238?v=3","gravatar_id":"","url":"https://api.github.com/users/davidebbo","html_url":"https://github.com/davidebbo","followers_url":"https://api.github.com/users/davidebbo/followers","following_url":"https://api.github.com/users/davidebbo/following{/other_user}","gists_url":"https://api.github.com/users/davidebbo/gists{/gist_id}","starred_url":"https://api.github.com/users/davidebbo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidebbo/subscriptions","organizations_url":"https://api.github.com/users/davidebbo/orgs","repos_url":"https://api.github.com/users/davidebbo/repos","events_url":"https://api.github.com/users/davidebbo/events{/privacy}","received_events_url":"https://api.github.com/users/davidebbo/received_events","type":"User","site_admin":false},"created_at":"2015-09-16T00:40:35Z","updated_at":"2015-09-16T00:40:35Z","body":"@snobu I think you can go ahead and send PR for this one. I agree that setting `Content-Disposition` is unlikely to hurt anything."}}