Fixing one missed trailing whitespace, and fixed url

This commit is contained in:
Paul Faria 2015-05-18 17:39:19 -04:00
parent 0362d254b8
commit 8e78564dc3

View file

@ -72,7 +72,7 @@ fn web_socket_scheme_types(scheme: &str) -> SchemeType {
}
fn parse_web_socket_url(url_str: &str) -> Fallible<(Url, String, u16, String, bool)> {
// https://html.spec.whatwg.org/multipage/comms.html#parse-a-websocket-url's-components
// https://html.spec.whatwg.org/multipage/#parse-a-websocket-url's-components
// 1. No basepath specified, so it's absolute by default
// 2. UrlParser defaults to UTF-8 encoding
// 3. Specifying only ws and wss