Removed integrity check and test for no-cors requests

Also updated request-headers.html manifest hash
This commit is contained in:
Daniel Kolsoi 2017-09-25 19:11:30 -04:00
parent 216f64e4e1
commit 96f9cc77e6
3 changed files with 1 additions and 11 deletions

View file

@ -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);
}