mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 09:51:57 -05:00
LibWeb: Add "image/x‑portable‑pixmap" mime type for pbm file extension
This commit is contained in:
parent
7f30d933b5
commit
97aca8f251
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue