Open
Description
Is there an existing issue for this?
- I have searched the existing issues
Describe the bug
app.static
should specify UTF-8 for MIME types text/*
. Currently it returns simply text/html
for HTML files.
Code snippet
from sanic import Sanic
app = Sanic("index")
app.static("/", ".", index="index.html")
Expected Behavior
content-type: text/html; charset=UTF-8
How do you run Sanic?
Sanic CLI
Operating System
Linux
Sanic Version
24.6.0
Additional context
No response