I'm using embed_asset!("assets/index.html", compress = true), but I'd like it to be served as Content-Type: text/html; charset=utf-8 (I have a few other cases where some influence on the Content-Type header would be nice). The mime type is correct (text/html), but I'd like to specify media type parameters too (in this case charset=utf-8).
AFAIK there is no way to do this currently in this crate, right?
I'm using
embed_asset!("assets/index.html", compress = true), but I'd like it to be served asContent-Type: text/html; charset=utf-8(I have a few other cases where some influence on the Content-Type header would be nice). The mime type is correct (text/html), but I'd like to specify media type parameters too (in this casecharset=utf-8).AFAIK there is no way to do this currently in this crate, right?