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

@ -3,7 +3,6 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
use fetch::cors_cache::{BasicCORSCache, CORSCache, CacheRequestDetails};
use fetch::response::ResponseMethods;
use http_loader::{NetworkHttpRequestFactory, WrappedHttpResponse};
use http_loader::{create_http_connector, obtain_response, read_block, ReadResult};
use hyper::client::response::Response as HyperResponse;