mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Create HttpStatus to safely deal with HTTP responses status. (#33581)
Signed-off-by: webbeef <me@webbeef.org>
This commit is contained in:
parent
013473f1d5
commit
58f34ad7a3
30 changed files with 344 additions and 403 deletions
|
@ -310,7 +310,7 @@ impl ResourceTimingListener for FetchContext {
|
|||
|
||||
fn fill_headers_with_metadata(r: DomRoot<Response>, m: Metadata) {
|
||||
r.set_headers(m.headers);
|
||||
r.set_raw_status(m.status);
|
||||
r.set_status(&m.status);
|
||||
r.set_final_url(m.final_url);
|
||||
r.set_redirected(m.redirected);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue