Commit a064354 Set the content_type and charset of the index page

1 file Authored and Committed by pingou 8 months ago
Set the content_type and charset of the index page

    
 1 @@ -350,7 +350,9 @@
 2   
 3   @asyncio.coroutine
 4   def index(request):
 5 -     return web.Response(body=INDEX.encode('utf-8'))
 6 +     return web.Response(
 7 +         body=INDEX.encode('utf-8'),
 8 +         content_type='text/html; charset=utf-8')
 9   
10   
11   @asyncio.coroutine