diff options
author | cyfraeviolae <cyfraeviolae> | 2024-04-03 04:04:00 -0400 |
---|---|---|
committer | cyfraeviolae <cyfraeviolae> | 2024-04-03 04:04:00 -0400 |
commit | bcc49bc4638cdfddb5e49954b51c98f771cabe82 (patch) | |
tree | 60dc2b237dcc3e38710bec0bc36561d46a36fd27 | |
parent | 29bba8bd840c4e33606a2ba99e9791df49ccd280 (diff) |
ics
-rw-r--r-- | app.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -130,7 +130,7 @@ async def calendar(state: State, iden: str) -> ASGIStreamingResponse: ics = event.to_ics() f = io.StringIO(ics.serialize()) return ASGIStreamingResponse(iterator=f, media_type='text/plain', headers={ - 'Content-Disposition': 'inline; filename=event.ics', + 'Content-Disposition': 'attachment; filename=event.ics', }) @dataclass |