1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-19 19:45:08 +00:00
serenity/Userland/Libraries/LibWeb/MimeSniff
networkException 297e293a3f LibWeb: Implement more close to spec javascript mime type checking
Previously we would simply check the an input string against a list of
mime type essences, ignoring that the input might not be a valid mime
type or contain parameters.

This patch moves the helpers into the MimeSniff namespace and properly
parses an input string before comparing the essence.
2022-10-06 16:41:36 +02:00
..
MimeType.cpp LibWeb: Implement more close to spec javascript mime type checking 2022-10-06 16:41:36 +02:00
MimeType.h LibWeb: Implement more close to spec javascript mime type checking 2022-10-06 16:41:36 +02:00