morss: specify server output encoding

master
pictuga 2020-04-09 19:10:45 +02:00
parent 3c7f512583
commit 47b33f4baa
1 changed files with 2 additions and 0 deletions

View File

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