mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
Change Response's statusText default value from 'Ok' to an empty string
This commit is contained in:
parent
524bd722ef
commit
73f11d69ea
6 changed files with 11 additions and 12 deletions
|
@ -131,8 +131,8 @@ impl Response {
|
|||
termination_reason: None,
|
||||
url: Some(url),
|
||||
url_list: vec![],
|
||||
status: Some((StatusCode::OK, "OK".to_string())),
|
||||
raw_status: Some((200, b"OK".to_vec())),
|
||||
status: Some((StatusCode::OK, "".to_string())),
|
||||
raw_status: Some((200, b"".to_vec())),
|
||||
headers: HeaderMap::new(),
|
||||
body: Arc::new(Mutex::new(ResponseBody::Empty)),
|
||||
cache_state: CacheState::None,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue