mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +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
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue