Make Response::new() an inherent method.

There is no real reason to put this in an extension trait.
This commit is contained in:
Ms2ger 2016-03-08 17:37:50 +01:00
parent 5fbed88248
commit 8b629652ac
5 changed files with 16 additions and 39 deletions

View file

@ -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};