Change Response's statusText default value from 'Ok' to an empty string

This commit is contained in:
George Roman 2018-11-22 00:26:15 +02:00
parent 524bd722ef
commit 73f11d69ea
6 changed files with 11 additions and 12 deletions

View file

@ -534,7 +534,7 @@ impl Metadata {
charset: None,
headers: None,
// https://fetch.spec.whatwg.org/#concept-response-status-message
status: Some((200, b"OK".to_vec())),
status: Some((200, b"".to_vec())),
https_state: HttpsState::None,
referrer: None,
referrer_policy: None,