Function content_type_charset

Source
pub fn content_type_charset(content_type: &str, charset: &str) -> String
Expand description

Combines a content type and a charset value into a single formatted string.

  • content_type: The content type (e.g., "text/html").
  • charset: The character set (e.g., "utf-8").
  • Returns: A format string.