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:
Jeena Lee 2016-08-23 15:49:03 -07:00
parent d5913035ec
commit 2c4b268a45

View file

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