Compare commits
No commits in common. "3e006e0becb53f902e4d3de48e6e44b208b0d89f" and "3a4c46cc0df91e1950e85f0f0cde7927cfc385ed" have entirely different histories.
3e006e0bec
...
3a4c46cc0d
@ -114,7 +114,7 @@ class ChannelAttachmentView(BaseView):
|
|||||||
response.headers["Content-Disposition"] = (
|
response.headers["Content-Disposition"] = (
|
||||||
f'attachment; filename="{channel_attachment["name"]}"'
|
f'attachment; filename="{channel_attachment["name"]}"'
|
||||||
)
|
)
|
||||||
response.headers["Content-Type"] = original_format or "application/octet-stream"
|
response.headers["Content-Type"] = original_format
|
||||||
return response
|
return response
|
||||||
|
|
||||||
async def post(self):
|
async def post(self):
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user