mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
Qualify hyper enums.
This commit is contained in:
parent
3be587606f
commit
b16f9cea09
8 changed files with 33 additions and 32 deletions
|
@ -4,7 +4,6 @@
|
|||
|
||||
use url::Url;
|
||||
use hyper::status::StatusCode;
|
||||
use hyper::status::Ok as StatusOk;
|
||||
use hyper::header::Headers;
|
||||
use std::ascii::AsciiExt;
|
||||
use std::comm::Receiver;
|
||||
|
@ -70,7 +69,7 @@ impl Response {
|
|||
response_type: ResponseType::Default,
|
||||
termination_reason: None,
|
||||
url: None,
|
||||
status: Some(StatusOk),
|
||||
status: Some(StatusCode::Ok),
|
||||
headers: Headers::new(),
|
||||
body: ResponseBody::Empty,
|
||||
internal_response: None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue