home / github / issue_comments

Menu
  • GraphQL API

issue_comments: 339366612

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions issue performed_via_github_app
https://github.com/simonw/datasette/issues/19#issuecomment-339366612 https://api.github.com/repos/simonw/datasette/issues/19 339366612 MDEyOklzc3VlQ29tbWVudDMzOTM2NjYxMg== 9599 2017-10-25T15:21:16Z 2017-10-25T15:21:16Z OWNER I had to manually set the content disposition header: return await response.file_stream( filepath, headers={ 'Content-Disposition': 'attachment; filename="{}"'.format(ilepath) } ) In the next release of Sanic I can just use the filename= argument instead: https://github.com/channelcat/sanic/commit/07e95dba4f5983afc1e673df14bdd278817288aa {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} 267741262  
Powered by Datasette · Queries took 1.502ms