mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Fixes #3962
Bad HTTP responses now have a 0 status code instead of 200 OK.
This commit is contained in:
parent
431644bfc8
commit
b664ee88e7
5 changed files with 14 additions and 22 deletions
|
@ -19,7 +19,7 @@ pub fn factory(mut load_data: LoadData, start_chan: Sender<LoadResponse>) {
|
|||
content_type: Some(("text".to_string(), "html".to_string())),
|
||||
charset: Some("utf-8".to_string()),
|
||||
headers: None,
|
||||
status: StatusOk,
|
||||
status: Some(StatusOk),
|
||||
});
|
||||
chan.send(Done(Ok(())));
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue