{"html_url": "https://github.com/simonw/datasette/issues/19#issuecomment-339366612", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/19", "id": 339366612, "node_id": "MDEyOklzc3VlQ29tbWVudDMzOTM2NjYxMg==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-10-25T15:21:16Z", "updated_at": "2017-10-25T15:21:16Z", "author_association": "OWNER", "body": "I had to manually set the content disposition header:\r\n\r\n return await response.file_stream(\r\n filepath, headers={\r\n 'Content-Disposition': 'attachment; filename=\"{}\"'.format(ilepath)\r\n }\r\n )\r\n\r\nIn the next release of Sanic I can just use the filename= argument instead:\r\n\r\nhttps://github.com/channelcat/sanic/commit/07e95dba4f5983afc1e673df14bdd278817288aa", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 267741262, "label": "Efficient url for downloading the raw database file"}, "performed_via_github_app": null}