mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Remove TODO from step 4 of delete
The confusion around step 4 of `delete` method has been resolved through https://github.com/whatwg/fetch/issues/372.
This commit is contained in:
parent
d5913035ec
commit
2c4b268a45
1 changed files with 0 additions and 2 deletions
|
@ -105,8 +105,6 @@ impl HeadersMethods for Headers {
|
|||
return Ok(());
|
||||
}
|
||||
// Step 4
|
||||
// TODO: Requires clarification from the Fetch spec:
|
||||
// ... https://github.com/whatwg/fetch/issues/372
|
||||
if self.guard.get() == Guard::RequestNoCors &&
|
||||
!is_cors_safelisted_request_header(&valid_name, &b"invalid".to_vec()) {
|
||||
return Ok(());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue