1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:57:35 +00:00

LibCore+LibWeb: Move guess-mimetype-based-on-filename logic to LibCore

This could be useful in more places.
This commit is contained in:
Andreas Kling 2020-07-27 19:49:43 +02:00
parent e3437414f0
commit 78518d230c
3 changed files with 30 additions and 27 deletions

View file

@ -61,4 +61,6 @@ private:
HashMap<String, ByteBuffer> m_data;
};
String guess_mime_type_based_on_filename(const URL&);
}