{"action":"closed","issue":{"url":"https://api.github.com/repos/torchbox/wagtail/issues/1158","labels_url":"https://api.github.com/repos/torchbox/wagtail/issues/1158/labels{/name}","comments_url":"https://api.github.com/repos/torchbox/wagtail/issues/1158/comments","events_url":"https://api.github.com/repos/torchbox/wagtail/issues/1158/events","html_url":"https://github.com/torchbox/wagtail/issues/1158","id":66548790,"number":1158,"title":"Any hook to set content-disposition in wagtail? ","user":{"login":"taishizhiqiu","id":8522036,"avatar_url":"https://avatars.githubusercontent.com/u/8522036?v=3","gravatar_id":"","url":"https://api.github.com/users/taishizhiqiu","html_url":"https://github.com/taishizhiqiu","followers_url":"https://api.github.com/users/taishizhiqiu/followers","following_url":"https://api.github.com/users/taishizhiqiu/following{/other_user}","gists_url":"https://api.github.com/users/taishizhiqiu/gists{/gist_id}","starred_url":"https://api.github.com/users/taishizhiqiu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taishizhiqiu/subscriptions","organizations_url":"https://api.github.com/users/taishizhiqiu/orgs","repos_url":"https://api.github.com/users/taishizhiqiu/repos","events_url":"https://api.github.com/users/taishizhiqiu/events{/privacy}","received_events_url":"https://api.github.com/users/taishizhiqiu/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/torchbox/wagtail/labels/Enhancement","name":"Enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-06T07:28:03Z","updated_at":"2015-04-07T03:49:35Z","closed_at":"2015-04-07T03:49:35Z","body":"I want to serve some pdfs and I want them to be opened in the browser by default. I know in django development response['content-disposition'] does this trick, and I wonder if there is a hook in wagtail that has the same effect."}}