mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Fix logic for cors cache match
The current logic for a cors cache match does not consider "credentials is false and request's credentials mode is not "include" or credentials is true."
This commit is contained in:
parent
47efbea666
commit
153059c55c
4 changed files with 84 additions and 28 deletions
|
@ -33,7 +33,7 @@ pub enum Destination {
|
|||
}
|
||||
|
||||
/// A request [origin](https://fetch.spec.whatwg.org/#concept-request-origin)
|
||||
#[derive(Clone, PartialEq)]
|
||||
#[derive(Clone, PartialEq, Debug)]
|
||||
pub enum Origin {
|
||||
Client,
|
||||
Origin(UrlOrigin)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue