Add "txt" argument, to change HTTP Content-Type

master
pictuga 2013-11-30 19:35:24 +01:00
parent 336d98230f
commit 8916216403
1 changed files with 1 additions and 1 deletions

View File

@ -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'