mirror of
https://github.com/servo/servo.git
synced 2025-08-23 06:15:35 +01:00
Rename net/fetch/request.rs to net/fetch/methods.rs and move Request to net_traits
This commit is contained in:
parent
eb7b9309dd
commit
a53661f6c8
5 changed files with 157 additions and 147 deletions
|
@ -4,8 +4,9 @@
|
|||
|
||||
use hyper::server::{Listening, Server};
|
||||
use hyper::server::{Request as HyperRequest, Response as HyperResponse};
|
||||
use net::fetch::request::{Context, fetch, Referer, Request};
|
||||
use net_traits::response::{Response};
|
||||
use net::fetch::methods::fetch;
|
||||
use net_traits::request::{Context, Referer, Request};
|
||||
use net_traits::response::Response;
|
||||
use std::rc::Rc;
|
||||
use url::Url;
|
||||
|
||||
|
@ -24,7 +25,6 @@ fn make_server(message: &'static [u8]) -> (Listening, Url) {
|
|||
(server, url)
|
||||
}
|
||||
|
||||
|
||||
#[test]
|
||||
fn test_fetch_response_is_not_network_error() {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue