Corrected incorrect mime type cgi-1.0
authorJames French <[email protected]>
Mon, 4 Mar 2013 11:56:12 +0000 (19:56 +0800)
committerJames French <[email protected]>
Mon, 4 Mar 2013 11:56:12 +0000 (19:56 +0800)
fbcal.py

index d18a515..45e03d9 100755 (executable)
--- a/fbcal.py
+++ b/fbcal.py
@@ -69,5 +69,5 @@ if __name__ == '__main__':
        cal = vobject.readOne(unicode(content, encoding))
        cal = icalparse.applyRules(cal, icalparse.generateRules(ruleConfig), False)
 
-       print('Content-Type: text/html; charset=%s\n'%encoding)
+       print('Content-Type: text/calendar; charset=%s\n'%encoding)
        icalparse.writeOutput(cal)

UCC git Repository :: git.ucc.asn.au