diff options
-rw-r--r-- | app.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -129,7 +129,7 @@ async def calendar(state: State, iden: str) -> ASGIStreamingResponse: event = result.scalar_one() ics = event.to_ics() f = io.StringIO(ics.serialize()) - return ASGIStreamingResponse(iterator=f, media_type='application/octet-stream', headers={ + return ASGIStreamingResponse(iterator=f, media_type='text/plain', headers={ 'Content-Disposition': 'inline; filename=event.ics', }) |