diff --git a/src/http/mime_type.zig b/src/http/mime_type.zig index 7435609310..5e9c36b7b5 100644 --- a/src/http/mime_type.zig +++ b/src/http/mime_type.zig @@ -119,6 +119,10 @@ pub fn init(str_: string) MimeType { if (strings.eqlComptime(str, "javascript")) { return javascript; } + + if (strings.eqlComptime(str, "plain")) { + return MimeType{ .value = "text/plain", .category = .text }; + } } }, "image".len => {