mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
net: Remove glob imports added in #4405
This commit is contained in:
parent
d7f38a8973
commit
07b1c0e652
8 changed files with 172 additions and 194 deletions
|
@ -2,12 +2,6 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
use self::ContextFrameType::*;
|
||||
use self::CredentialsMode::*;
|
||||
use self::Referer::*;
|
||||
use self::RequestMode::*;
|
||||
use self::ResponseTainting::*;
|
||||
|
||||
use url::Url;
|
||||
use hyper::method::{Get, Method};
|
||||
use hyper::mime::{Mime, Text, Html, Charset, Utf8};
|
||||
|
@ -101,19 +95,19 @@ impl Request {
|
|||
preserve_content_codings: false,
|
||||
skip_service_worker: false,
|
||||
context: context,
|
||||
context_frame_type: ContextNone,
|
||||
context_frame_type: ContextFrameType::ContextNone,
|
||||
origin: None,
|
||||
force_origin_header: false,
|
||||
same_origin_data: false,
|
||||
referer: Client,
|
||||
referer: Referer::Client,
|
||||
authentication: false,
|
||||
sync: false,
|
||||
mode: NoCORS,
|
||||
credentials_mode: Omit,
|
||||
mode: RequestMode::NoCORS,
|
||||
credentials_mode: CredentialsMode::Omit,
|
||||
use_url_credentials: false,
|
||||
manual_redirect: false,
|
||||
redirect_count: 0,
|
||||
response_tainting: Basic,
|
||||
response_tainting: ResponseTainting::Basic,
|
||||
cache: None
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue