diff options
author | Corey Farwell <coreyf@rwell.org> | 2015-04-13 21:27:39 -0700 |
---|---|---|
committer | Corey Farwell <coreyf@rwell.org> | 2015-04-13 21:34:27 -0700 |
commit | 5eaa92204599332d8f1fdfb04da302136161db55 (patch) | |
tree | 41f08a5e7bc2a22c2b83accbf401d620597068e4 /components/script/dom/xmlhttprequest.rs | |
parent | 55de52d76ad0c864b7875c561df5c5f3867b2d73 (diff) | |
download | servo-5eaa92204599332d8f1fdfb04da302136161db55.tar.gz servo-5eaa92204599332d8f1fdfb04da302136161db55.zip |
Update WHATWG links to use HTTPS
Extracted this out of #5649
This commit was created with the following commands:
```
find . -iname "*.webidl" -type f -print0 | xargs -0 sed -i '' 's/http:\(.*\)whatwg.org/https:\1whatwg.org/g'
```
```
find . -iname "*.rs" -type f -print0 | xargs -0 sed -i '' 's/http:\(.*\)whatwg.org/https:\1whatwg.org/g'
```
Diffstat (limited to 'components/script/dom/xmlhttprequest.rs')
-rw-r--r-- | components/script/dom/xmlhttprequest.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/xmlhttprequest.rs b/components/script/dom/xmlhttprequest.rs index 50616d2ee06..5d0f76e5463 100644 --- a/components/script/dom/xmlhttprequest.rs +++ b/components/script/dom/xmlhttprequest.rs @@ -1036,7 +1036,7 @@ impl<'a> PrivateXMLHttpRequestHelpers for JSRef<'a, XMLHttpRequest> { encoding.decode(response.as_slice(), DecoderTrap::Replace).unwrap().to_owned() } fn filter_response_headers(self) -> Headers { - // http://fetch.spec.whatwg.org/#concept-response-header-list + // https://fetch.spec.whatwg.org/#concept-response-header-list use std::fmt; use hyper::header::{Header, HeaderFormat}; use hyper::header::SetCookie; @@ -1072,7 +1072,7 @@ trait Extractable { } impl Extractable for SendParam { fn extract(&self) -> Vec<u8> { - // http://fetch.spec.whatwg.org/#concept-fetchbodyinit-extract + // https://fetch.spec.whatwg.org/#concept-fetchbodyinit-extract let encoding = UTF_8 as EncodingRef; match *self { eString(ref s) => encoding.encode(s.as_slice(), EncoderTrap::Replace).unwrap(), |