From 87158c28a0f562324b55f5e3d3395c2a430900c7 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Jan 03 2017 09:30:26 +0000 Subject: Fix specifying the charset --- diff --git a/mdapi/__init__.py b/mdapi/__init__.py index 4938d79..dc85321 100644 --- a/mdapi/__init__.py +++ b/mdapi/__init__.py @@ -352,7 +352,8 @@ def get_supplements(request): def index(request): return web.Response( body=INDEX.encode('utf-8'), - content_type='text/html; charset=utf-8') + content_type='text/html', + charset='utf-8') @asyncio.coroutine