diff --git a/lib/src/http/content_type.rs b/lib/src/http/content_type.rs index b992de27..80339a13 100644 --- a/lib/src/http/content_type.rs +++ b/lib/src/http/content_type.rs @@ -111,6 +111,7 @@ impl ContentType { "CSS", CSS, is_css => "text", "css" ; "charset=utf-8", "data form", DataForm, is_data_form => "multipart", "form-data", "XML", XML, is_xml => "text", "xml" ; "charset=utf-8", + "CSV", CSV, is_csv => "text", "csv" ; "charset=utf-8", "PNG", PNG, is_png => "image", "png", "GIF", GIF, is_gif => "image", "gif", "BMP", BMP, is_bmp => "image", "bmp", @@ -148,6 +149,7 @@ impl ContentType { "txt" => ContentType::Plain, "html" | "htm" => ContentType::HTML, "xml" => ContentType::XML, + "csv" => ContentType::CSV, "js" => ContentType::JavaScript, "css" => ContentType::CSS, "json" => ContentType::JSON,