mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Ignore the Content-Type header completely for @font-face.
This matches the previous default (network.mime.sniff off) behaviour in all but one case: we will now accept a font without a `Content-Type` header, which would previously have been ignored.
This commit is contained in:
parent
cff0f01c70
commit
44c80d5b18
7 changed files with 3 additions and 43 deletions
|
@ -62,7 +62,6 @@ extern crate lazy_static;
|
|||
extern crate libc;
|
||||
#[macro_use]
|
||||
extern crate log;
|
||||
extern crate mime;
|
||||
extern crate msg;
|
||||
extern crate net_traits;
|
||||
extern crate ordered_float;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue