From 89162164038e97fa499ba9c09287e0ae01d31c8d Mon Sep 17 00:00:00 2001 From: pictuga Date: Sat, 30 Nov 2013 19:35:24 +0100 Subject: [PATCH] Add "txt" argument, to change HTTP Content-Type --- morss.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/morss.py b/morss.py index afca93c..d1721ba 100644 --- a/morss.py +++ b/morss.py @@ -656,7 +656,7 @@ if __name__ == '__main__': if options.html: print 'Content-Type: text/html' - elif options.debug: + elif options.debug or options.txt: print 'Content-Type: text/plain' elif options.progress: print 'Content-Type: application/octet-stream'