Function actix_web_security::authentication::error::error_handler::set_auth_error_content_type[][src]

pub fn set_auth_error_content_type(content_type: String)

Error responses return the content type header text/html; charset=utf-8 by default. The header value can be overwritten by calling this function.