Closed synodriver closed 2 years ago
Current implementation ignores the charset field in the response class, which may lead to some problem, while starlette handles that properly
So we can reuse starlette's code to set proper content-type and charset, like changing this line.
With this patch, the proper charset is set like the base class in starlette
Thanks @synodriver, will merge.
Current implementation ignores the charset field in the response class, which may lead to some problem, while starlette handles that properly
So we can reuse starlette's code to set proper content-type and charset, like changing this line.