mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Network Security : Implement StrictOrigin and StrictOriginWhenCrossOrigin
Referer policy strict-origin and strict-origin-when-cross-origin changes have been implemented. Relevant unit test cases have been added. Enum for RefererPolicy has been added to hyper codebase and v 0.9.11 of hyper contains these changes. This commit also contains changes related to upgrade of hyper from v0.9.10 to v0.9.11. Other dependencies changed are rayon, utils, num_cpus.
This commit is contained in:
parent
05f4512433
commit
c24aa56377
14 changed files with 246 additions and 55 deletions
|
@ -104,5 +104,7 @@ enum ReferrerPolicy {
|
|||
"no-referrer-when-downgrade",
|
||||
"origin",
|
||||
"origin-when-cross-origin",
|
||||
"unsafe-url"
|
||||
"unsafe-url",
|
||||
"strict-origin",
|
||||
"strict-origin-when-cross-origin"
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue