Quantcast
Channel: Serve an ical feed with Flask - Stack Overflow
Browsing index pages (2 articles)

Serve an ical feed with Flask

I've got a small flask website, and I want to serve an ical feed from it.I've already created an ics-file, which gets frequently updated, however I can't figure out how to serve it from the...

View Article


Answer by pjcunningham for Serve an ical feed with Flask

You need to set the the correct content disposition header of the response. In your case the header would be something like the following:Content-Disposition: attachment; filename=calender.ics;In your...

View Article

Browsing index pages (2 articles)


Latest Images