Change http output mimetype to xml
This commit is contained in:
2
morss.py
2
morss.py
@@ -465,7 +465,7 @@ if __name__ == "__main__":
|
|||||||
if options == 'progress':
|
if options == 'progress':
|
||||||
print 'Content-Type: application/octet-stream'
|
print 'Content-Type: application/octet-stream'
|
||||||
else:
|
else:
|
||||||
print 'Content-Type: text/html'
|
print 'Content-Type: text/xml'
|
||||||
print
|
print
|
||||||
|
|
||||||
cache = os.getcwd() + '/cache'
|
cache = os.getcwd() + '/cache'
|
||||||
|
Reference in New Issue
Block a user