fn set_html_headers<T>(response: Response<T>) -> Response<T>Expand description
Denies framing and foreign scripts for a response that is HTML.
The Content-Type is echoed from whoever uploaded the media, so the media type decides on its own and regardless of case: a parameter that merely mentions HTML leaves a response that is not HTML alone.