summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/MimeSniff
AgeCommit message (Collapse)Author
2022-03-21LibWeb: Move passed string in MimeType constructorHendiadyoin1
This was pointed out by Clang-Tidy and should avoid an allocation.
2022-03-17Libraries: Use default constructors/destructors in LibWebLenny Maiorani
https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#cother-other-default-operation-rules "The compiler is more likely to get the default semantics right and you cannot implement these functions better than the compiler."
2022-02-12LibWeb: Fix comparing current position to quote in Mime Type quote parseLuke Wilde
Had a look over this with a fresh head and noticed I was comparing the current lexer position to the quote character, oops!
2022-02-12LibWeb: Implement spec-compliant MIME type struct and parserLuke Wilde
This will be used by XHR to extract the Content-Type MIME type to retrieve the charset.