LibWeb: Implement spec-compliant MIME type struct and parser

This will be used by XHR to extract the Content-Type MIME type to
retrieve the charset.
This commit is contained in:
Luke Wilde 2022-02-11 20:53:47 +00:00 committed by Andreas Kling
commit 8cfeca5261
Notes: sideshowbarker 2024-07-17 18:58:38 +09:00
6 changed files with 342 additions and 0 deletions

View file

@ -231,6 +231,10 @@ namespace Web::IntersectionObserver {
class IntersectionObserver;
}
namespace Web::MimeSniff {
class MimeType;
}
namespace Web::NavigationTiming {
class PerformanceTiming;
}