diff options
Diffstat (limited to 'components/net')
33 files changed, 33 insertions, 33 deletions
diff --git a/components/net/blob_loader.rs b/components/net/blob_loader.rs index 2afed16ad7f..e6d64acc16e 100644 --- a/components/net/blob_loader.rs +++ b/components/net/blob_loader.rs @@ -1,6 +1,6 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ use crate::filemanager_thread::FileManager; use headers_core::HeaderMapExt; diff --git a/components/net/connector.rs b/components/net/connector.rs index 452b0db703d..44166bf92a9 100644 --- a/components/net/connector.rs +++ b/components/net/connector.rs @@ -1,6 +1,6 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ use crate::hosts::replace_host; use crate::http_loader::Decoder; diff --git a/components/net/cookie.rs b/components/net/cookie.rs index adfd5e6147b..ade42b93f7d 100644 --- a/components/net/cookie.rs +++ b/components/net/cookie.rs @@ -1,6 +1,6 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ //! Implementation of cookie creation and matching as specified by //! http://tools.ietf.org/html/rfc6265 diff --git a/components/net/cookie_storage.rs b/components/net/cookie_storage.rs index a0b7484f0c5..30f7b608db0 100644 --- a/components/net/cookie_storage.rs +++ b/components/net/cookie_storage.rs @@ -1,6 +1,6 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ //! Implementation of cookie storage as specified in //! http://tools.ietf.org/html/rfc6265 diff --git a/components/net/data_loader.rs b/components/net/data_loader.rs index 9f0e1627ea3..f467ed02b4f 100644 --- a/components/net/data_loader.rs +++ b/components/net/data_loader.rs @@ -1,6 +1,6 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ use base64; use mime::Mime; diff --git a/components/net/fetch/cors_cache.rs b/components/net/fetch/cors_cache.rs index f23af159455..f9e06c937bc 100644 --- a/components/net/fetch/cors_cache.rs +++ b/components/net/fetch/cors_cache.rs @@ -1,6 +1,6 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ //! An implementation of the [CORS preflight cache](https://fetch.spec.whatwg.org/#cors-preflight-cache) //! For now this library is XHR-specific. diff --git a/components/net/fetch/methods.rs b/components/net/fetch/methods.rs index 51eebd5fc80..3687f249112 100644 --- a/components/net/fetch/methods.rs +++ b/components/net/fetch/methods.rs @@ -1,6 +1,6 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ use crate::blob_loader::load_blob_sync; use crate::data_loader::decode; diff --git a/components/net/filemanager_thread.rs b/components/net/filemanager_thread.rs index 966f8a21bcb..8f0fb05b229 100644 --- a/components/net/filemanager_thread.rs +++ b/components/net/filemanager_thread.rs @@ -1,6 +1,6 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ use embedder_traits::{EmbedderMsg, EmbedderProxy, FilterPattern}; use ipc_channel::ipc::{self, IpcSender}; diff --git a/components/net/hosts.rs b/components/net/hosts.rs index 52fd5fe671e..132a6e579fe 100644 --- a/components/net/hosts.rs +++ b/components/net/hosts.rs @@ -1,6 +1,6 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ use std::borrow::Cow; use std::collections::HashMap; diff --git a/components/net/hsts.rs b/components/net/hsts.rs index 7b1329edbd5..01b9cf71eb6 100644 --- a/components/net/hsts.rs +++ b/components/net/hsts.rs @@ -1,6 +1,6 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ use embedder_traits::resources::{self, Resource}; use net_traits::pub_domains::reg_suffix; diff --git a/components/net/http_cache.rs b/components/net/http_cache.rs index 30694f2c8e0..a12c935d51d 100644 --- a/components/net/http_cache.rs +++ b/components/net/http_cache.rs @@ -1,6 +1,6 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ #![deny(missing_docs)] diff --git a/components/net/http_loader.rs b/components/net/http_loader.rs index 000afe70ee3..e15e6ba4d35 100644 --- a/components/net/http_loader.rs +++ b/components/net/http_loader.rs @@ -1,6 +1,6 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ use brotli::Decompressor; use bytes::Bytes; diff --git a/components/net/image_cache.rs b/components/net/image_cache.rs index 22d6faccae6..e72cd27e3da 100644 --- a/components/net/image_cache.rs +++ b/components/net/image_cache.rs @@ -1,6 +1,6 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ use embedder_traits::resources::{self, Resource}; use immeta::load_from_buf; diff --git a/components/net/lib.rs b/components/net/lib.rs index 7f36629d306..04d41dd8d30 100644 --- a/components/net/lib.rs +++ b/components/net/lib.rs @@ -1,6 +1,6 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ #![deny(unsafe_code)] diff --git a/components/net/mime_classifier.rs b/components/net/mime_classifier.rs index 432cb36dee5..38a1273c38a 100644 --- a/components/net/mime_classifier.rs +++ b/components/net/mime_classifier.rs @@ -1,6 +1,6 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ use mime::{self, Mime}; use net_traits::LoadContext; diff --git a/components/net/resource_thread.rs b/components/net/resource_thread.rs index 57550bd6c78..8c2bad33b41 100644 --- a/components/net/resource_thread.rs +++ b/components/net/resource_thread.rs @@ -1,6 +1,6 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ //! A thread that takes a URL and streams back the binary data. diff --git a/components/net/storage_thread.rs b/components/net/storage_thread.rs index 48a5043a994..cd066eef9a0 100644 --- a/components/net/storage_thread.rs +++ b/components/net/storage_thread.rs @@ -1,6 +1,6 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ use crate::resource_thread; use ipc_channel::ipc::{self, IpcReceiver, IpcSender}; diff --git a/components/net/subresource_integrity.rs b/components/net/subresource_integrity.rs index de90fea9338..a57cab3a848 100644 --- a/components/net/subresource_integrity.rs +++ b/components/net/subresource_integrity.rs @@ -1,6 +1,6 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ use base64; use net_traits::response::{Response, ResponseBody, ResponseType}; diff --git a/components/net/tests/cookie.rs b/components/net/tests/cookie.rs index 7190807ed78..3b14ba1ceb1 100644 --- a/components/net/tests/cookie.rs +++ b/components/net/tests/cookie.rs @@ -1,6 +1,6 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ use net::cookie::Cookie; use net::cookie_storage::CookieStorage; diff --git a/components/net/tests/cookie_http_state.rs b/components/net/tests/cookie_http_state.rs index ef929277fcb..0a03dbc81b8 100644 --- a/components/net/tests/cookie_http_state.rs +++ b/components/net/tests/cookie_http_state.rs @@ -1,6 +1,6 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ use net::cookie::Cookie; use net::cookie_storage::CookieStorage; diff --git a/components/net/tests/cookie_http_state_utils.py b/components/net/tests/cookie_http_state_utils.py index b8820c312da..9e5995d6393 100644 --- a/components/net/tests/cookie_http_state_utils.py +++ b/components/net/tests/cookie_http_state_utils.py @@ -1,6 +1,6 @@ # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# file, You can obtain one at https://mozilla.org/MPL/2.0/. import os import subprocess diff --git a/components/net/tests/data_loader.rs b/components/net/tests/data_loader.rs index 9996aed73e6..03f6bd11fa4 100644 --- a/components/net/tests/data_loader.rs +++ b/components/net/tests/data_loader.rs @@ -1,6 +1,6 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ use crate::fetch; use headers_core::HeaderMapExt; diff --git a/components/net/tests/fetch.rs b/components/net/tests/fetch.rs index a61b8a7178e..04f3828c2c6 100644 --- a/components/net/tests/fetch.rs +++ b/components/net/tests/fetch.rs @@ -1,6 +1,6 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ use crate::fetch_with_context; use crate::fetch_with_cors_cache; diff --git a/components/net/tests/file_loader.rs b/components/net/tests/file_loader.rs index f7a45691e57..f37a90dabcd 100644 --- a/components/net/tests/file_loader.rs +++ b/components/net/tests/file_loader.rs @@ -1,6 +1,6 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ use std::env; use url::Url; diff --git a/components/net/tests/filemanager_thread.rs b/components/net/tests/filemanager_thread.rs index 50141326722..5fd01eb8d43 100644 --- a/components/net/tests/filemanager_thread.rs +++ b/components/net/tests/filemanager_thread.rs @@ -1,6 +1,6 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ use crate::create_embedder_proxy; use embedder_traits::FilterPattern; diff --git a/components/net/tests/hsts.rs b/components/net/tests/hsts.rs index 9389c586110..dc227fd472b 100644 --- a/components/net/tests/hsts.rs +++ b/components/net/tests/hsts.rs @@ -1,6 +1,6 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ use net::hsts::{HstsEntry, HstsList}; use net_traits::IncludeSubdomains; diff --git a/components/net/tests/http_cache.rs b/components/net/tests/http_cache.rs index f57d1b2df0a..fceec1aadc7 100644 --- a/components/net/tests/http_cache.rs +++ b/components/net/tests/http_cache.rs @@ -1,6 +1,6 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ use hyper::header::{Expires, HttpDate}; use hyper::method::Method; diff --git a/components/net/tests/http_loader.rs b/components/net/tests/http_loader.rs index ce369c3a9d3..b61373d14da 100644 --- a/components/net/tests/http_loader.rs +++ b/components/net/tests/http_loader.rs @@ -1,6 +1,6 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ use cookie_rs::Cookie as CookiePair; use crate::fetch; diff --git a/components/net/tests/main.rs b/components/net/tests/main.rs index 2015407e29a..4440506caac 100644 --- a/components/net/tests/main.rs +++ b/components/net/tests/main.rs @@ -1,6 +1,6 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ #![cfg(test)] diff --git a/components/net/tests/mime_classifier.rs b/components/net/tests/mime_classifier.rs index d2568a9a8be..3317b355d71 100644 --- a/components/net/tests/mime_classifier.rs +++ b/components/net/tests/mime_classifier.rs @@ -1,6 +1,6 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ use mime::{self, Mime}; use net::mime_classifier::{ApacheBugFlag, MimeClassifier, Mp4Matcher, NoSniffFlag}; diff --git a/components/net/tests/resource_thread.rs b/components/net/tests/resource_thread.rs index b33e28942fa..8c42b7f773a 100644 --- a/components/net/tests/resource_thread.rs +++ b/components/net/tests/resource_thread.rs @@ -1,6 +1,6 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ use crate::create_embedder_proxy; use ipc_channel::ipc; diff --git a/components/net/tests/subresource_integrity.rs b/components/net/tests/subresource_integrity.rs index 3cd5ac2b017..a256734113f 100644 --- a/components/net/tests/subresource_integrity.rs +++ b/components/net/tests/subresource_integrity.rs @@ -1,6 +1,6 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ use net::subresource_integrity::{get_prioritized_hash_function, get_strongest_metadata, SriEntry}; use net::subresource_integrity::{is_response_integrity_valid, parsed_metadata}; diff --git a/components/net/websocket_loader.rs b/components/net/websocket_loader.rs index 85149c60ec0..e1abc148021 100644 --- a/components/net/websocket_loader.rs +++ b/components/net/websocket_loader.rs @@ -1,6 +1,6 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ use crate::connector::create_ssl_connector_builder; use crate::cookie::Cookie; |