mirror of
https://github.com/SerenityOS/serenity
synced 2024-09-18 15:32:56 +00:00
LibWeb: Add "image/x‑portable‑pixmap" mime type for pbm file extension
This commit is contained in:
parent
7f30d933b5
commit
97aca8f251
|
@ -83,6 +83,8 @@ static String guess_mime_type_based_on_filename(const URL& url)
|
|||
return "image/x‑portable‑bitmap";
|
||||
if (url.path().ends_with(".png"))
|
||||
return "image/png";
|
||||
if (url.path().ends_with(".ppm"))
|
||||
return "image/x‑portable‑pixmap";
|
||||
if (url.path().ends_with(".gif"))
|
||||
return "image/gif";
|
||||
if (url.path().ends_with(".bmp"))
|
||||
|
|
Loading…
Reference in a new issue