morss: specify server output encoding

This commit is contained in:
pictuga 2020-04-09 19:10:45 +02:00
parent 3c7f512583
commit 47b33f4baa

@ -554,6 +554,8 @@ def cgi_app(environ, start_response):
else:
headers['content-type'] = 'text/xml'
headers['content-type'] += '; charset=utf-8'
crawler.default_cache = crawler.SQLiteCache(os.path.join(os.getcwd(), 'morss-cache.db'))
# get the work done