diff options
author | Manish Goregaokar <manishsmail@gmail.com> | 2014-08-23 21:35:29 +0530 |
---|---|---|
committer | Manish Goregaokar <manishsmail@gmail.com> | 2014-08-27 23:53:15 +0530 |
commit | d326ba03770e071b7f3535fff40dfeed85ca7c0d (patch) | |
tree | 97a2652cf7a1b90d510e8118c620e8e01b2e2560 /src/components/net/fetch/request.rs | |
parent | 5d7438a7dbeda64a3aa853d6ed27a76c2a26949a (diff) | |
download | servo-d326ba03770e071b7f3535fff40dfeed85ca7c0d.tar.gz servo-d326ba03770e071b7f3535fff40dfeed85ca7c0d.zip |
Some docs
Diffstat (limited to 'src/components/net/fetch/request.rs')
-rw-r--r-- | src/components/net/fetch/request.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/net/fetch/request.rs b/src/components/net/fetch/request.rs index bd5d87b7950..c14efe9c59e 100644 --- a/src/components/net/fetch/request.rs +++ b/src/components/net/fetch/request.rs @@ -111,7 +111,6 @@ impl Request { } /// [Basic fetch](http://fetch.spec.whatwg.org#basic-fetch) - /// pub fn basic_fetch(&mut self) -> Response { match self.url.scheme.as_slice() { "about" => match self.url.non_relative_scheme_data() { @@ -133,7 +132,8 @@ impl Request { _ => Response::network_error() } } - // [Basic fetch](http://fetch.spec.whatwg.org#http-fetch) + + // [HTTP fetch](http://fetch.spec.whatwg.org#http-fetch) pub fn http_fetch(&mut self, _cors_flag: bool, cors_preflight_flag: bool, _authentication_fetch_flag: bool) -> Response { let response = Response::new(); // TODO: Service worker fetch |