LibWeb: Add "image/x‑portable‑pixmap" mime type for pbm file extension

This commit is contained in:
Hüseyin ASLITÜRK 2020-06-21 23:08:47 +03:00 committed by Andreas Kling
parent 7f30d933b5
commit 97aca8f251

View file

@ -83,6 +83,8 @@ static String guess_mime_type_based_on_filename(const URL& url)
return "image/xportablebitmap";
if (url.path().ends_with(".png"))
return "image/png";
if (url.path().ends_with(".ppm"))
return "image/xportablepixmap";
if (url.path().ends_with(".gif"))
return "image/gif";
if (url.path().ends_with(".bmp"))