aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/components/net/fetch/request.rs5
-rw-r--r--src/components/net/fetch/response.rs5
-rw-r--r--src/components/net/net.rs4
3 files changed, 14 insertions, 0 deletions
diff --git a/src/components/net/fetch/request.rs b/src/components/net/fetch/request.rs
new file mode 100644
index 00000000000..12c21ed4427
--- /dev/null
+++ b/src/components/net/fetch/request.rs
@@ -0,0 +1,5 @@
+/* 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/. */
+
+pub struct Request; \ No newline at end of file
diff --git a/src/components/net/fetch/response.rs b/src/components/net/fetch/response.rs
new file mode 100644
index 00000000000..f6b926bb725
--- /dev/null
+++ b/src/components/net/fetch/response.rs
@@ -0,0 +1,5 @@
+/* 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/. */
+
+ pub struct Response; \ No newline at end of file
diff --git a/src/components/net/net.rs b/src/components/net/net.rs
index 9b9692184e7..d796672244f 100644
--- a/src/components/net/net.rs
+++ b/src/components/net/net.rs
@@ -39,3 +39,7 @@ pub mod image_cache_task;
pub mod local_image_cache;
pub mod resource_task;
+pub mod fetch {
+ pub mod request;
+ pub mod response;
+}