mirror of
https://github.com/servo/servo.git
synced 2025-08-09 23:45:35 +01:00
Make Response::new() an inherent method.
There is no real reason to put this in an extension trait.
This commit is contained in:
parent
5fbed88248
commit
8b629652ac
5 changed files with 16 additions and 39 deletions
|
@ -11,7 +11,6 @@ use hyper::server::{Request as HyperRequest, Response as HyperResponse};
|
|||
use hyper::status::StatusCode;
|
||||
use hyper::uri::RequestUri;
|
||||
use net::fetch::methods::{fetch, fetch_async};
|
||||
use net::fetch::response::ResponseMethods;
|
||||
use net_traits::request::{Origin, RedirectMode, Referer, Request, RequestMode};
|
||||
use net_traits::response::{CacheState, Response, ResponseBody, ResponseType};
|
||||
use net_traits::{AsyncFetchListener};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue