diff options
author | Ms2ger <Ms2ger@gmail.com> | 2016-10-18 18:04:58 +0200 |
---|---|---|
committer | Ms2ger <Ms2ger@gmail.com> | 2016-11-04 10:43:37 +0100 |
commit | 277c6d0154731c426bbf3fa76aeb63444b812eea (patch) | |
tree | c0fc2c73af6140582ac121e27fc3e41fc31863bd /components/net/fetch/methods.rs | |
parent | 0c6a277b099683e8cb87630fb6483bc89ed09aa4 (diff) | |
download | servo-277c6d0154731c426bbf3fa76aeb63444b812eea.tar.gz servo-277c6d0154731c426bbf3fa76aeb63444b812eea.zip |
Move ReferrerPolicy to net_traits.
Diffstat (limited to 'components/net/fetch/methods.rs')
-rw-r--r-- | components/net/fetch/methods.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/components/net/fetch/methods.rs b/components/net/fetch/methods.rs index 83bd73bbf74..0e066e918aa 100644 --- a/components/net/fetch/methods.rs +++ b/components/net/fetch/methods.rs @@ -23,8 +23,7 @@ use hyper::mime::{Mime, SubLevel, TopLevel}; use hyper::status::StatusCode; use hyper_serde::Serde; use mime_guess::guess_mime_type; -use msg::constellation_msg::ReferrerPolicy; -use net_traits::{FetchTaskTarget, FetchMetadata, NetworkError}; +use net_traits::{FetchTaskTarget, FetchMetadata, NetworkError, ReferrerPolicy}; use net_traits::request::{CacheMode, CredentialsMode, Destination}; use net_traits::request::{RedirectMode, Referrer, Request, RequestMode, ResponseTainting}; use net_traits::request::{Type, Origin, Window}; |