mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Removed integrity check and test for no-cors requests
Also updated request-headers.html manifest hash
This commit is contained in:
parent
216f64e4e1
commit
96f9cc77e6
3 changed files with 1 additions and 11 deletions
|
@ -324,10 +324,6 @@ impl Request {
|
|||
"The mode is 'no-cors' but the method is not a cors-safelisted method".to_string()));
|
||||
}
|
||||
// Step 30.2
|
||||
if !borrowed_request.integrity_metadata.is_empty() {
|
||||
return Err(Error::Type("Integrity metadata is not an empty string".to_string()));
|
||||
}
|
||||
// Step 30.3
|
||||
r.Headers().set_guard(Guard::RequestNoCors);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue