Kemal Zebari
8e5410347b
LibWeb/MimeSniff: Add non-standard text or binary context sniffing
...
This is used in cases where the spec expects us to only run the
"rules for distinguishing if a resource is a text or binary" algo.
2024-02-02 14:34:17 -05:00
Kemal Zebari
5d14691149
LibWeb: Add rules for distinguishing if a resource is text or binary
...
Resolves a FIXME in MimeSniff::Resource allowing us to determine
the computed MIME type given supplied types that are used in older
versions of Apache that need special handling.
2024-01-04 12:25:38 -07:00
Kemal Zebari
0b7148e2a6
LibWeb/MimeSniff: Add sniffing in a font context
2024-01-04 12:25:38 -07:00
Kemal Zebari
3a820ddbdf
LibWeb/MimeSniff: Add sniffing in an audio or video context
2023-12-07 10:31:54 -07:00
Kemal Zebari
02ea85da2c
LibWeb/MimeSniff: Add sniffing in an image context
2023-12-07 10:31:54 -07:00
Kemal Zebari
ea15501f37
LibWeb/MimeSniff: Add sniffing in a browsing context
2023-12-07 10:31:54 -07:00
Kemal Zebari
04e19df06a
LibWeb/MimeSniff: Implement Resource
...
See https://mimesniff.spec.whatwg.org/#resource
2023-12-07 10:31:54 -07:00