Home
last modified time | relevance | path

Searched +full:whatwg +full:- +full:url (Results 1 – 25 of 146) sorted by relevance

123456

/aosp_15_r20/external/rust/android-crates-io/crates/url/src/
Dquirks.rs1 // Copyright 2016 The rust-url developers.
3 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
4 // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
5 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
9 //! Getters and setters for URL components implemented per https://url.spec.whatwg.org/#api
12 //! you probably want to use `Url` method instead.
15 use crate::{Host, ParseError, Position, Url};
17 /// Internal components / offsets of a URL.
21 /// | | | | | | | `----- fragment_start
22 /// | | | | | | `--------- query_start
[all …]
Dhost.rs1 // Copyright 2013-2016 The rust-url developers.
3 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
4 // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
5 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
29 fn from(host: Host<String>) -> HostInternal { in from()
39 /// The host name of an URL.
43 /// A DNS domain name, as '.' dot-separated labels.
44 /// Non-ASCII labels are encoded in punycode per IDNA if this is the host of
45 /// a special URL, or percent encoded for non-special URLs. Hosts for
46 /// non-special URLs are also called opaque hosts.
[all …]
Dparser.rs1 // Copyright 2013-2016 The rust-url developers.
3 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
4 // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
5 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
14 use crate::Url;
18 /// https://url.spec.whatwg.org/#fragment-percent-encode-set
21 /// https://url.spec.whatwg.org/#path-percent-encode-set
24 /// https://url.spec.whatwg.org/#userinfo-percent-encode-set
43 // https://url.spec.whatwg.org/#query-state
64 fn fmt(&self, fmt: &mut Formatter<'_>) -> fmt::Result {
[all …]
Dorigin.rs1 // Copyright 2016 The rust-url developers.
3 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
4 // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
5 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
11 use crate::Url;
14 pub fn url_origin(url: &Url) -> Origin { in url_origin()
15 let scheme = url.scheme(); in url_origin()
18 let result = Url::parse(url.path()); in url_origin()
20 Ok(ref url) => url_origin(url), in url_origin()
26 url.host().unwrap().to_owned(), in url_origin()
[all …]
/aosp_15_r20/external/cldr/tools/scripts/tr-archive/
H A Dpackage-lock.json2 "name": "tr-archive",
8 "name": "tr-archive",
10 "license": "Unicode-3.0",
12 "@not-dalia/gfm-toc": "github:not-dalia/gfm-toc",
13 "anchor-js": "^5.0.0",
17 "marked-alert": "^2.0.1"
20 "node_modules/@not-dalia/gfm-toc": {
22 …"resolved": "git+ssh://[email protected]/not-dalia/gfm-toc.git#68f2db628606366b51b51a071c8bb87f490575…
25 "escape-html": "^1.0.3",
30 "gfm-toc": "bin/gfm-toc"
[all …]
/aosp_15_r20/external/guava/android/guava/src/com/google/common/net/
H A DUrlEscapers.java7 * http://www.apache.org/licenses/LICENSE-2.0
39 static final String URL_FORM_PARAMETER_OTHER_SAFE_CHARS = "-_.*";
42 "-._~" // Unreserved characters.
48 * href="https://url.spec.whatwg.org/#application-x-www-form-urlencoded-percent-encode-set">URL
49 * form parameter names and values</a>. Escaping is performed with the UTF-8 character encoding.
51 …* href="https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#multipart-form-dat…
52 * any unpaired carriage return or line feed characters with a CR+LF pair</a> on any non-file
60 * <li>The special characters ".", "-", "*", and "_" remain the same.
62 * <li>All other characters are converted into one or more bytes using UTF-8 encoding and each
63 * byte is then represented by the 3-character string "%XY", where "XY" is the two-digit,
[all …]
/aosp_15_r20/external/guava/guava/src/com/google/common/net/
H A DUrlEscapers.java7 * http://www.apache.org/licenses/LICENSE-2.0
39 static final String URL_FORM_PARAMETER_OTHER_SAFE_CHARS = "-_.*";
42 "-._~" // Unreserved characters.
48 * href="https://url.spec.whatwg.org/#application-x-www-form-urlencoded-percent-encode-set">URL
49 * form parameter names and values</a>. Escaping is performed with the UTF-8 character encoding.
51 …* href="https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#multipart-form-dat…
52 * any unpaired carriage return or line feed characters with a CR+LF pair</a> on any non-file
60 * <li>The special characters ".", "-", "*", and "_" remain the same.
62 * <li>All other characters are converted into one or more bytes using UTF-8 encoding and each
63 * byte is then represented by the 3-character string "%XY", where "XY" is the two-digit,
[all …]
/aosp_15_r20/external/cronet/url/
H A Durl_canon_non_special_url.cc2 // Use of this source code is governed by a BSD-style license that can be
5 // Functions to canonicalize non-special URLs.
7 #include "url/url_canon.h"
8 #include "url/url_canon_internal.h"
10 namespace url { namespace
22 // canonicalizing non-special URLs. in DoCanonicalizeNonSpecialURL()
24 // Since canonicalization is also used from url::ReplaceComponents(), in DoCanonicalizeNonSpecialURL()
25 // we have to handle an invalid URL replacement here, such as: in DoCanonicalizeNonSpecialURL()
27 // > const url = "git:///"; in DoCanonicalizeNonSpecialURL()
28 // > url.username = "x"; in DoCanonicalizeNonSpecialURL()
[all …]
H A Durl_idna_icu.cc2 // Use of this source code is governed by a BSD-style license that can be
5 // ICU-based IDNA converter.
17 #include "url/url_canon_icu.h"
18 #include "url/url_canon_internal.h" // for _itoa_s
19 #include "url/url_features.h"
21 namespace url { namespace
32 // 1. Use the up-to-date Unicode data.
33 // 2. Define a case folding/mapping with the up-to-date Unicode data as
35 // 3. If `use_idna_non_transitional` is true, use non-transitional mechanism for
36 // 4 deviation characters (sharp-s, final sigma, ZWJ and ZWNJ) per
[all …]
H A Durl_canon_host.cc2 // Use of this source code is governed by a BSD-style license that can be
7 #include "url/url_canon.h"
8 #include "url/url_canon_internal.h"
9 #include "url/url_features.h"
11 namespace url { namespace
18 // '*' (asterisk) are still non-compliant to the URL Standard. See
21 // clang-format off
23 // 00-1f: all are invalid
26 // ' ' ! " # $ % & ' ( ) * + , - . /
27 kEsc,'!', '"', 0, '$', 0, '&', '\'','(', ')', kEsc, '+', ',', '-', '.', 0,
[all …]
H A Durl_canon_pathurl.cc2 // Use of this source code is governed by a BSD-style license that can be
6 // of a URL, these are URLs that have no authority section, only a path. For
9 #include "url/url_canon.h"
10 #include "url/url_canon_internal.h"
12 namespace url { namespace
17 // |new_component|. If |separator| is non-zero, it is pre-pended to |output|
27 output->push_back(separator); in DoCanonicalizePathComponent()
28 // Copy the path using path URL's more lax escaping rules (think for in DoCanonicalizePathComponent()
29 // javascript:). We convert to UTF-8 and escape characters from the in DoCanonicalizePathComponent()
30 // C0 control percent-encode set, but leave all other characters alone. in DoCanonicalizePathComponent()
[all …]
/aosp_15_r20/external/curl/docs/
H A DURL-SYNTAX.md1 <!--
4 SPDX-License-Identifier: curl
5 -->
7 # URL syntax and their use in curl
11 The official "URL syntax" is primarily defined in these two different
14 - [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986) (although URL is called
16 - [The WHATWG URL Specification](https://url.spec.whatwg.org/)
21 The WHATWG URL spec was written later, is incompatible with the RFC 3986 and
26 URL parsers as implemented in browsers, libraries and tools usually opt to
28 interpretations and the moving nature of the WHATWG spec does however make it
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/idna/src/
Dlib.rs1 // Copyright 2016 The rust-url developers.
3 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
4 // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
5 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
10 //! [per the WHATWG URL Standard](https://url.spec.whatwg.org/#idna).
56 /// The [domain to ASCII](https://url.spec.whatwg.org/#concept-domain-to-ascii) algorithm.
59 /// normalizing characters (upper-case to lower-case and other kinds of equivalence)
63 pub fn domain_to_ascii(domain: &str) -> Result<String, uts46::Errors> { in domain_to_ascii()
67 /// The [domain to ASCII](https://url.spec.whatwg.org/#concept-domain-to-ascii) algorithm,
69 pub fn domain_to_ascii_strict(domain: &str) -> Result<String, uts46::Errors> { in domain_to_ascii_strict()
[all …]
/aosp_15_r20/external/openscreen/cast/cast_core/api/v2/
H A Durl_rewrite.proto2 // Use of this source code is governed by a BSD-style license that can be
5 // **** DO NOT EDIT - this file was automatically generated. ****
37 // URL request rewrites to apply.
47 // Adds a set of headers to a URL request.
50 // Removes a header based on the presence of a pattern in the URL query.
53 // Substitutes a pattern in the URL query.
56 // Replaces a URL if the original URL ends with a pattern.
59 // Appends to the URL query.
70 // Adds `headers` to the URL request. If a header is already present in the
71 // original URL request, it will be overwritten.
[all …]
/aosp_15_r20/external/cronet/url/third_party/mozilla/
H A Durl_parse.h2 // Use of this source code is governed by a BSD-style license that can be
14 namespace url {
17 // (https://url.spec.whatwg.org/#is-special) and parsing URLs which are not
21 // - Special URLs: "https://host/path", "ftp://host/path"
22 // - Non Special URLs: "about:blank", "data:xxx", "git://host/path"
25 // Component ------------------------------------------------------------------
27 // Represents a substring for URL parsing.
29 Component() : begin(0), len(-1) {} in Component()
49 len = -1; in reset()
64 int len; // Will be -1 if the component is unspecified.
[all …]
H A Durl_parse.cc2 * -------------------------------------
37 #include "url/third_party/mozilla/url_parse.h"
45 #include "url/url_parse_internal.h"
46 #include "url/url_util.h"
47 #include "url/url_util_internal.h"
49 namespace url { namespace
112 hostname->reset(); in ParseServerInfo()
113 port_num->reset(); in ParseServerInfo()
117 // If the host starts with a left-bracket, assume the entire host is an in ParseServerInfo()
119 // This assumption will be overridden if we find a right-bracket. in ParseServerInfo()
[all …]
/aosp_15_r20/external/ktfmt/website/
H A Dpackage-lock.json8 "clean-css": "^5.1.1",
9 "event-stream": "4.0.1",
11 "monaco-editor": "^0.23.0",
20 "resolved": "https://registry.npmjs.org/@gulpjs/messages/-/messages-1.1.0.tgz",
21 …"integrity": "sha512-Ys9sazDatyTgZVb4xPlDufLweJ/Os2uHWOv+Caxvy2O85JcnT4M3vc73bi8pdLWlv3fdWQz3pdI9t…
27 "node_modules/@gulpjs/to-absolute-glob": {
29 … "resolved": "https://registry.npmjs.org/@gulpjs/to-absolute-glob/-/to-absolute-glob-4.0.0.tgz",
30 …"integrity": "sha512-kjotm7XJrJ6v+7knhPaRgaT6q8F8K2jiafwYdNHLzmV0uGLuZY43FK6smNSHUPrhq5kX2slCUy+RG…
33 "is-negated-glob": "^1.0.0"
41 "resolved": "https://registry.npmjs.org/abab/-/abab-2.0.5.tgz",
[all …]
/aosp_15_r20/external/cronet/net/url_request/
H A Dredirect_util.cc2 // Use of this source code is governed by a BSD-style license that can be
14 #include "url/gurl.h"
15 #include "url/origin.h"
35 request_headers->RemoveHeader(key); in UpdateHttpRequest()
44 // See https://fetch.spec.whatwg.org/#origin-header in UpdateHttpRequest()
48 request_headers->RemoveHeader(HttpRequestHeaders::kOrigin); in UpdateHttpRequest()
52 request_headers->RemoveHeader(HttpRequestHeaders::kContentLength); in UpdateHttpRequest()
54 // These are "request-body-headers" and should be removed on redirects that in UpdateHttpRequest()
56 // https://fetch.spec.whatwg.org/ in UpdateHttpRequest()
57 request_headers->RemoveHeader(HttpRequestHeaders::kContentType); in UpdateHttpRequest()
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/percent-encoding/src/
Dlib.rs1 // Copyright 2013-2016 The rust-url developers.
3 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
4 // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
5 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
34 //! /// https://url.spec.whatwg.org/#fragment-percent-encode-set
62 /// This is similar to [percent-encode sets](https://url.spec.whatwg.org/#percent-encoded-bytes).
69 /// /// https://url.spec.whatwg.org/#fragment-percent-encode-set
83 /// Called with UTF-8 bytes rather than code points.
84 /// Not used for non-ASCII bytes.
85 const fn contains(&self, byte: u8) -> bool { in contains()
[all …]
/aosp_15_r20/frameworks/base/packages/SystemUI/scripts/token_alignment/
H A Dpackage-lock.json8 "csv-parse": "^5.3.3",
15 "@typescript-eslint/eslint-plugin": "^5.48.0",
16 "eslint-config-prettier": "^8.6.0",
17 "eslint-plugin-import": "^2.26.0",
18 "eslint-plugin-prettier": "^4.2.1",
19 "eslint-plugin-simple-import-sort": "^8.0.0",
20 "ts-node": "^10.9.1",
24 "node_modules/@cspotcode/source-map-support": {
26 …"resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.t…
27 …"integrity": "sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu…
[all …]
/aosp_15_r20/external/python/cpython3/Doc/library/
Durllib.parse.rst1 :mod:`urllib.parse` --- Parse URLs into components
12 single: URL
13 pair: URL; parsing
14 pair: relative; URL
16 --------------
18 This module defines a standard interface to break Uniform Resource Locator (URL)
20 combine the components back into a URL string, and to convert a "relative URL"
21 to an absolute URL given a "base URL."
24 Resource Locators. It supports the following URL schemes: ``file``, ``ftp``,
31 categories: URL parsing and URL quoting. These are covered in detail in
[all …]
/aosp_15_r20/external/brotli/fetch-spec/
H A Dshared-brotli-fetch-spec.txt6 (https://fetch.spec.whatwg.org/).
14 with a URL of the dictionary. The browser downloads the dictionary from the URL and
17 mechanisms are used. A dictionary can be a pre-made static dictionary, but does not
22 at https://fetch.spec.whatwg.org/:
24 Additions to `4.5. HTTP-network-or-cache fetch`
28 If the recursive-sbr flag is enabled, `Accept-Encoding` may not contain `sbr`
29 [NOTE-BOX] When sbr can be used, it is possible to add a header Available-Dict
30 with the URL and hash code of a cached resource. The server may then use it as
33 Additions to `4.6. HTTP-network fetch`
38 `Content-Encoding` and response’s header list.
[all …]
/aosp_15_r20/external/cronet/net/base/
H A Dschemeful_site.h2 // Use of this source code is governed by a BSD-style license that can be
15 #include "url/origin.h"
44 // https://html.spec.whatwg.org/multipage/origin.html#obtain-a-site.
65 explicit SchemefulSite(const url::Origin& origin);
70 explicit SchemefulSite(const GURL& url);
83 // did not lie, merely that they are well-formed.
84 static bool FromWire(const url::Origin& site_as_origin, SchemefulSite* out);
86 // Creates a SchemefulSite iff the passed-in origin has a registerable domain.
88 const url::Origin&);
94 // https://fetch.spec.whatwg.org/#websocket-opening-handshake.
[all …]
/aosp_15_r20/external/grpc-grpc-java/okhttp/third_party/okhttp/main/java/io/grpc/okhttp/internal/proxy/
H A DHttpUrl.java8 * http://www.apache.org/licenses/LICENSE-2.0
30 * Helper class to build a proxy URL.
42 /** Either 80, 443 or a user-specified port. In range [1..65535]. */
45 /** Canonical URL. */
46 private final String url; field in HttpUrl
52 this.url = builder.toString(); in HttpUrl()
71 * <li>An encoded IDN, like {@code xn--n3h.net}.
79 * Returns the explicitly-specified port if one was provided, or the default port for this URL's
88 * Returns 80 if {@code scheme.equals("http")}, 443 if {@code scheme.equals("https")} and -1
97 return -1; in defaultPort()
[all …]
/aosp_15_r20/external/python/cpython3/Lib/urllib/
Dparse.py5 RFC 3986 (STD66): "Uniform Resource Identifiers" by T. Berners-Lee, R. Fielding
8 RFC 2732 : "Format for Literal IPv6 Addresses in URL's by R.Hinden, B.Carpenter
12 Berners-Lee, R. Fielding, and L. Masinter, August 1998.
14 RFC 2368: "The mailto URL scheme", by P.Hoffman , L Masinter, J. Zawinski, July 1998.
19 RFC 1738: "Uniform Resource Locators (URL)" by T. Berners-Lee, L. Masinter, M.
29 The WHATWG URL Parser spec should also be considered. We are not compliant with
69 # compatibility. (They are undocumented, but have a public-looking name.)
85 '+-.')
87 # Leading and trailing C0 control and space to be stripped per WHATWG spec.
91 # Unsafe bytes to be removed per WHATWG spec
[all …]

123456