Lines Matching refs:scheme
16 let scheme = url.scheme(); in url_origin() localVariable
17 match scheme { in url_origin()
26 scheme.to_owned(), in url_origin()
79 Origin::Tuple(ref scheme, ref host, port) => { in ascii_serialization()
80 if default_port(scheme) == Some(port) { in ascii_serialization()
81 format!("{}://{}", scheme, host) in ascii_serialization()
83 format!("{}://{}:{}", scheme, host, port) in ascii_serialization()
93 Origin::Tuple(ref scheme, ref host, port) => { in unicode_serialization()
101 if default_port(scheme) == Some(port) { in unicode_serialization()
102 format!("{}://{}", scheme, host) in unicode_serialization()
104 format!("{}://{}:{}", scheme, host, port) in unicode_serialization()