From c80b8af8cceb1ee78d46e783e18cce6b06409cc3 Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Wed, 30 Jul 2014 18:46:25 +0530 Subject: [PATCH] Stubs for fetch module --- src/components/net/fetch/request.rs | 5 +++++ src/components/net/fetch/response.rs | 5 +++++ src/components/net/net.rs | 4 ++++ 3 files changed, 14 insertions(+) create mode 100644 src/components/net/fetch/request.rs create mode 100644 src/components/net/fetch/response.rs 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; +}