aboutsummaryrefslogtreecommitdiffstats
path: root/components/net_traits
diff options
context:
space:
mode:
authorJan Andre Ikenmeyer <jan@ikenmeyer.eu>2018-11-19 14:47:27 +0100
committerJan Andre Ikenmeyer <jan@ikenmeyer.eu>2018-11-19 14:47:27 +0100
commit1d6fe65401383bd01d30368d32eedcd908fa79ad (patch)
tree903ebb4fb5ebd492dc63d4f21c522b4f23a85d7e /components/net_traits
parenta1a14459c141afc6ac6771b8a6c9ca374537edf2 (diff)
downloadservo-1d6fe65401383bd01d30368d32eedcd908fa79ad.tar.gz
servo-1d6fe65401383bd01d30368d32eedcd908fa79ad.zip
Update MPL license to https (part 4)
Diffstat (limited to 'components/net_traits')
-rw-r--r--components/net_traits/blob_url_store.rs2
-rw-r--r--components/net_traits/filemanager_thread.rs2
-rw-r--r--components/net_traits/image/base.rs2
-rw-r--r--components/net_traits/image_cache.rs2
-rw-r--r--components/net_traits/lib.rs2
-rw-r--r--components/net_traits/net_error_list.rs2
-rw-r--r--components/net_traits/pub_domains.rs2
-rw-r--r--components/net_traits/quality.rs2
-rw-r--r--components/net_traits/request.rs2
-rw-r--r--components/net_traits/response.rs2
-rw-r--r--components/net_traits/storage_thread.rs2
-rw-r--r--components/net_traits/tests/image.rs2
-rw-r--r--components/net_traits/tests/pub_domains.rs2
-rw-r--r--components/net_traits/tests/whitespace.rs2
14 files changed, 14 insertions, 14 deletions
diff --git a/components/net_traits/blob_url_store.rs b/components/net_traits/blob_url_store.rs
index 961d7ae20ad..a429c6880bc 100644
--- a/components/net_traits/blob_url_store.rs
+++ b/components/net_traits/blob_url_store.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::FileOrigin;
use servo_url::ServoUrl;
diff --git a/components/net_traits/filemanager_thread.rs b/components/net_traits/filemanager_thread.rs
index 5a851676d58..bceb0507fff 100644
--- a/components/net_traits/filemanager_thread.rs
+++ b/components/net_traits/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::blob_url_store::{BlobBuf, BlobURLStoreError};
use embedder_traits::FilterPattern;
diff --git a/components/net_traits/image/base.rs b/components/net_traits/image/base.rs
index 05175084162..be5f78c888f 100644
--- a/components/net_traits/image/base.rs
+++ b/components/net_traits/image/base.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 ipc_channel::ipc::IpcSharedMemory;
use piston_image::{DynamicImage, ImageFormat};
diff --git a/components/net_traits/image_cache.rs b/components/net_traits/image_cache.rs
index ab3cb4634e5..4b4aa1a1862 100644
--- a/components/net_traits/image_cache.rs
+++ b/components/net_traits/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 crate::image::base::{Image, ImageMetadata};
use crate::FetchResponseMsg;
diff --git a/components/net_traits/lib.rs b/components/net_traits/lib.rs
index b7e11fc4af5..212b6885f1b 100644
--- a/components/net_traits/lib.rs
+++ b/components/net_traits/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_traits/net_error_list.rs b/components/net_traits/net_error_list.rs
index a09be7b07de..a455c13b9d8 100644
--- a/components/net_traits/net_error_list.rs
+++ b/components/net_traits/net_error_list.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/. */
// see https://github.com/adobe/chromium/blob/master/net/base/net_error_list.h
#[allow(dead_code, non_camel_case_types)]
diff --git a/components/net_traits/pub_domains.rs b/components/net_traits/pub_domains.rs
index 636790f8ea4..45a338829de 100644
--- a/components/net_traits/pub_domains.rs
+++ b/components/net_traits/pub_domains.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 public domain matching.
//!
diff --git a/components/net_traits/quality.rs b/components/net_traits/quality.rs
index 6543cb11e8d..fe53b2201fc 100644
--- a/components/net_traits/quality.rs
+++ b/components/net_traits/quality.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/. */
//TODO(eijebong): Remove this once typed headers figure out quality
// This is copy pasted from the old hyper headers to avoid hardcoding everything
diff --git a/components/net_traits/request.rs b/components/net_traits/request.rs
index f593a66f83e..1296ad2a193 100644
--- a/components/net_traits/request.rs
+++ b/components/net_traits/request.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::ReferrerPolicy;
use http::HeaderMap;
diff --git a/components/net_traits/response.rs b/components/net_traits/response.rs
index 33eebc4eb66..88644f80fb0 100644
--- a/components/net_traits/response.rs
+++ b/components/net_traits/response.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/. */
//! The [Response](https://fetch.spec.whatwg.org/#responses) object
//! resulting from a [fetch operation](https://fetch.spec.whatwg.org/#concept-fetch)
diff --git a/components/net_traits/storage_thread.rs b/components/net_traits/storage_thread.rs
index ec636a810a6..ad6563aa684 100644
--- a/components/net_traits/storage_thread.rs
+++ b/components/net_traits/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 ipc_channel::ipc::IpcSender;
use servo_url::ServoUrl;
diff --git a/components/net_traits/tests/image.rs b/components/net_traits/tests/image.rs
index e7d2d460d7e..181f1c915e1 100644
--- a/components/net_traits/tests/image.rs
+++ b/components/net_traits/tests/image.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_traits::image::base::detect_image_format;
diff --git a/components/net_traits/tests/pub_domains.rs b/components/net_traits/tests/pub_domains.rs
index c17f8ba8c07..ea58e7650e3 100644
--- a/components/net_traits/tests/pub_domains.rs
+++ b/components/net_traits/tests/pub_domains.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_traits::pub_domains::{is_pub_domain, is_reg_domain, pub_suffix, reg_suffix};
diff --git a/components/net_traits/tests/whitespace.rs b/components/net_traits/tests/whitespace.rs
index d2bc9d1a3be..d1e6b7a2ac8 100644
--- a/components/net_traits/tests/whitespace.rs
+++ b/components/net_traits/tests/whitespace.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/. */
#[test]
fn test_trim_http_whitespace() {