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&);
}