Documentation

Std.Http.Data.URI.Basic

URI Structure #

This module defines an HTTP-oriented URI structure aligned with RFC 3986 and RFC 9110, including schemes, authorities, paths, queries, fragments, and request targets.

Host handling is intentionally strict: this module accepts IPv4, bracketed IPv6, and DNS-style domain names (LDH labels, plus _). RFC 3986 reg-name forms that are not DNS-compatible are rejected.

All text components use the encoding types from Std.Http.URI.Encoding to ensure proper percent-encoding is maintained throughout.

References:

@[reducible, inline]

Proposition that s is a valid URI scheme per RFC 3986: scheme = ALPHA *( ALPHA / DIGIT / "+" / "-" / "." ).

The scheme value stored in this module is normalized to lowercase.

Reference: https://www.rfc-editor.org/rfc/rfc3986.html#section-3.1

Equations
  • One or more equations did not get rendered due to their size.
Instances For
    @[reducible, inline]

    URI scheme identifier (e.g., "http", "https", "ftp").

    Equations
    Instances For

      Attempts to create a Scheme from a string, normalizing to lowercase. Returns none if the scheme is invalid per RFC 3986 Section 3.1.

      Equations
      Instances For

        Creates a Scheme from a string, normalizing to lowercase. Panics if invalid.

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For

          Returns the default port number for this URI scheme: 443 for https, 80 for everything else.

          Equations
          Instances For

            Returns the URI scheme for a given port: "https" for 443, "http" otherwise.

            Equations
            Instances For

              User information component containing an encoded username and optional encoded password.

              The stored strings use URI userinfo percent-encoding so parsed URIs can be rendered without losing percent-encoding choices (for example, %3A versus :).

              Note: embedding passwords in URIs is deprecated per RFC 9110 Section 4.2.4. Avoid using the password field in new code, and never include it in logs or error messages.

              Reference: https://www.rfc-editor.org/rfc/rfc3986.html#section-3.2.1

              Instances For
                Equations
                • One or more equations did not get rendered due to their size.
                Instances For
                  Equations
                  Instances For
                    @[inline]

                    Builds a UserInfo value from raw strings by applying userinfo percent-encoding. A : in the username is encoded too, since the first : separates it from the password (RFC 3986 §3.2.1).

                    Equations
                    • One or more equations did not get rendered due to their size.
                    Instances For
                      @[inline]

                      Returns the decoded username, or none if decoding fails UTF-8 validation.

                      Equations
                      Instances For
                        @[inline]

                        Returns the decoded password when present, or none if absent or decoding fails UTF-8 validation.

                        Equations
                        Instances For

                          Checks whether a single domain label is valid. A label must be non-empty, contain only ASCII alphanumeric characters, - and _, cannot start or end with -, and must be at most 63 characters.

                          _ is outside the RFC 1123 host-name syntax but is an RFC 3986 reg-name character, and names such as container service names use it.

                          References:

                          Equations
                          • One or more equations did not get rendered due to their size.
                          Instances For

                            Checks whether the last label of a dot-separated name is a number: decimal digits, or 0x followed by hex digits. The system resolver reads such a name as an IPv4 address in shorthand (127.1, 2130706433, 0x7f.0.0.1), so it cannot be a domain name.

                            Reference: https://url.spec.whatwg.org/#ends-in-a-number-checker

                            Equations
                            • One or more equations did not get rendered due to their size.
                            Instances For
                              @[reducible, inline]

                              Proposition that asserts s is a valid dot-separated domain name. Each label must satisfy IsValidDomainLabel, the last label must not be a number (see endsInNumber), and the full name must be at most 255 characters. A single trailing . (a fully qualified name such as example.com.) adds no label.

                              Equations
                              • One or more equations did not get rendered due to their size.
                              Instances For
                                @[reducible, inline]

                                A domain name represented as a validated, lowercase-normalized string. Only ASCII alphanumeric characters, -, _ and dots are allowed. Each label cannot start or end with - and is limited to 63 characters, and the last label cannot be a number. Internationalized domain names must be converted to punycode before use.

                                Reference: https://www.rfc-editor.org/rfc/rfc3986.html#section-3.2.2

                                Equations
                                Instances For

                                  Attempts to create a normalized domain name from a string. Returns none if the name is empty, longer than 255 characters, ends in a numeric label, or any label violates DNS label constraints.

                                  Equations
                                  Instances For

                                    Host component of a URI, supporting domain names and IP addresses.

                                    Reference: https://www.rfc-editor.org/rfc/rfc3986.html#section-3.2.2

                                    • name (name : DomainName) : Host

                                      A domain name (lowercase-normalized).

                                    • ipv4 (ipv4 : Net.IPv4Addr) : Host

                                      An IPv4 address.

                                    • ipv6 (ipv6 : Net.IPv6Addr) : Host

                                      An IPv6 address.

                                    • empty : Host

                                      An empty reg-name (RFC 3986 §3.2.2), as in file:///etc/hosts. It names no host to connect to, and an http or https URI with it is rejected (RFC 9110 §4.2.1).

                                    Instances For
                                      @[instance_reducible]
                                      Equations
                                      • One or more equations did not get rendered due to their size.
                                      @[instance_reducible]
                                      Equations
                                      • One or more equations did not get rendered due to their size.

                                      Authority port representation, preserving the distinction between:

                                      • no port separator (example.com)
                                      • empty port (example.com:)
                                      • numeric port (example.com:443)
                                      • omitted : Port

                                        No : port separator is present (for example, example.com).

                                      • empty : Port

                                        A : port separator is present with no digits after it (for example, example.com:).

                                      • value (port : UInt16) : Port

                                        A numeric port value is present (for example, example.com:443).

                                      Instances For
                                        Equations
                                        Instances For

                                          The authority component of a URI, identifying the network location of the resource.

                                          Reference: https://www.rfc-editor.org/rfc/rfc3986.html#section-3.2

                                          • userInfo : Option UserInfo

                                            Optional user information (username and password).

                                          • host : Host

                                            The host identifying the network location.

                                          • port : Port

                                            Port component, preserving whether it is omitted (example.com), explicitly empty (example.com:), or numeric (example.com:443).

                                          Instances For
                                            Equations
                                            • One or more equations did not get rendered due to their size.
                                            Instances For
                                              Equations
                                              Instances For
                                                @[instance_reducible]
                                                Equations
                                                • One or more equations did not get rendered due to their size.

                                                Hierarchical path component of a URI. Each segment is stored as an EncodedSegment to maintain proper percent-encoding.

                                                Reference: https://www.rfc-editor.org/rfc/rfc3986.html#section-3.3

                                                • The path segments making up the hierarchical structure (each segment is percent-encoded).

                                                • absolute : Bool

                                                  Whether the path is absolute (begins with '/') or relative.

                                                Instances For
                                                  Equations
                                                  • One or more equations did not get rendered due to their size.
                                                  Instances For
                                                    Equations
                                                    Instances For
                                                      @[instance_reducible]
                                                      Equations
                                                      • One or more equations did not get rendered due to their size.

                                                      Returns true if the path has no segments.

                                                      Equations
                                                      Instances For
                                                        def Std.Http.URI.Path.render (p : Path) (hasAuthority hasScheme : Bool) :

                                                        Renders the path of a URI (hasScheme) or of a relative reference so that it reads back as the same path component (RFC 3986 §3.3, §4.2):

                                                        • after an authority, a non-empty path starts with /, or it would extend the host;
                                                        • without one, a path that would start with // is put behind a /. segment, or it would read as an authority;
                                                        • a relative path that starts with an empty segment, or, in a reference, with a segment containing :, is put behind a ./ segment, or it would read as an absolute path or a scheme.

                                                        The /. and ./ segments disappear when dot segments are removed (RFC 3986 §5.2.4).

                                                        Equations
                                                        • One or more equations did not get rendered due to their size.
                                                        Instances For

                                                          Returns the parent path by removing the last segment. If the path is empty, returns the path unchanged.

                                                          Equations
                                                          Instances For

                                                            Joins two paths. If the second path is absolute, it is returned as-is. Otherwise, the second path's segments are appended to the first path.

                                                            Equations
                                                            Instances For
                                                              def Std.Http.URI.Path.append (p : Path) (segment : String) :

                                                              Appends a single segment to the path. The segment will be percent-encoded.

                                                              Equations
                                                              Instances For

                                                                Appends an already-encoded segment to the path.

                                                                Equations
                                                                Instances For

                                                                  Removes dot segments from the path according to RFC 3986 Section 5.2.4. This handles "." (current directory) and ".." (parent directory) segments.

                                                                  Equations
                                                                  Instances For

                                                                    Returns the path segments as decoded strings. Segments that cannot be decoded as UTF-8 are returned as their raw encoded form.

                                                                    Equations
                                                                    Instances For

                                                                      Query string represented as an array of key-value pairs. Both keys and values are stored as EncodedQueryParam for proper application/x-www-form-urlencoded encoding. Values are optional to support parameters without values (e.g., "?flag"). Order is preserved based on insertion order.

                                                                      Reference: https://www.rfc-editor.org/rfc/rfc3986.html#section-3.4

                                                                      Equations
                                                                      Instances For

                                                                        Extracts all unique query parameter names, in order of first occurrence.

                                                                        Equations
                                                                        • One or more equations did not get rendered due to their size.
                                                                        Instances For

                                                                          Extracts all query parameter values.

                                                                          Equations
                                                                          Instances For

                                                                            Returns the query as an array of (key, value) pairs. This is an identity function since Query is already an array of pairs.

                                                                            Equations
                                                                            Instances For

                                                                              Formats a query parameter as a string in the format "key" or "key=value". The key and value are already percent-encoded as EncodedQueryParam. A = in the key is written as %3D, which decodes to the same name, so the key does not end early when the query is read back.

                                                                              Equations
                                                                              • One or more equations did not get rendered due to their size.
                                                                              Instances For

                                                                                Finds the first value of a query parameter by key name. Returns none if the key is not found. The value remains encoded as EncodedQueryParam.

                                                                                Equations
                                                                                • One or more equations did not get rendered due to their size.
                                                                                Instances For

                                                                                  Finds the first value of a query parameter whose name decodes to key, however it is spelled.

                                                                                  Equations
                                                                                  • One or more equations did not get rendered due to their size.
                                                                                  Instances For

                                                                                    Finds all values of a query parameter by key name. Returns an empty array if the key is not found. The values remain encoded as EncodedQueryParam.

                                                                                    Equations
                                                                                    • One or more equations did not get rendered due to their size.
                                                                                    Instances For

                                                                                      Finds all values of query parameters whose name decodes to key, however it is spelled.

                                                                                      Equations
                                                                                      • One or more equations did not get rendered due to their size.
                                                                                      Instances For
                                                                                        def Std.Http.URI.Query.insert (query : Query) (key value : String) :

                                                                                        Adds a query parameter to the query string.

                                                                                        Equations
                                                                                        • One or more equations did not get rendered due to their size.
                                                                                        Instances For

                                                                                          Adds an already-encoded key-value pair to the query string.

                                                                                          Equations
                                                                                          Instances For

                                                                                            Creates an empty query string.

                                                                                            Equations
                                                                                            Instances For

                                                                                              Creates a query string from a list of key-value pairs.

                                                                                              Equations
                                                                                              Instances For

                                                                                                Checks if a query parameter exists.

                                                                                                Equations
                                                                                                Instances For

                                                                                                  Checks if a query parameter whose name decodes to key exists, however it is spelled.

                                                                                                  Equations
                                                                                                  Instances For

                                                                                                    Removes all occurrences of a query parameter by key name.

                                                                                                    Equations
                                                                                                    Instances For

                                                                                                      Removes all query parameters whose name decodes to key, however it is spelled.

                                                                                                      Equations
                                                                                                      Instances For

                                                                                                        Gets the first value of a query parameter by key name, decoded as a string. Returns none if the key is not found or if the value cannot be decoded as UTF-8.

                                                                                                        Equations
                                                                                                        Instances For
                                                                                                          def Std.Http.URI.Query.getD (query : Query) (key default : String) :

                                                                                                          Gets the first value of a query parameter by key name, decoded as a string. Returns the default value if the key is not found or if the value cannot be decoded.

                                                                                                          Equations
                                                                                                          Instances For
                                                                                                            def Std.Http.URI.Query.set (query : Query) (key value : String) :

                                                                                                            Sets a query parameter, replacing all existing values for that key. Both key and value will be automatically percent-encoded.

                                                                                                            Equations
                                                                                                            Instances For

                                                                                                              Converts the query to a properly encoded query string format. Example: "key1=value1&key2=value2&flag"

                                                                                                              Equations
                                                                                                              • One or more equations did not get rendered due to their size.
                                                                                                              Instances For
                                                                                                                @[instance_reducible]
                                                                                                                Equations
                                                                                                                @[instance_reducible]
                                                                                                                Equations
                                                                                                                • One or more equations did not get rendered due to their size.

                                                                                                                Formats an optional query component, preserving some .empty as an explicit empty query delimiter.

                                                                                                                Equations
                                                                                                                Instances For
                                                                                                                  structure Std.Http.URI :

                                                                                                                  Complete URI structure following RFC 3986. All text components use encoded string types to ensure proper percent-encoding.

                                                                                                                  Reference: https://www.rfc-editor.org/rfc/rfc3986.html

                                                                                                                  • scheme : Scheme

                                                                                                                    The URI scheme (e.g., "http", "https", "ftp").

                                                                                                                  • authority : Option Authority

                                                                                                                    Optional authority component (user info, host, and port).

                                                                                                                  • path : Path

                                                                                                                    The hierarchical path component.

                                                                                                                  • query : Option Query

                                                                                                                    Optional query string as key-value pairs. some .empty preserves an explicit empty query delimiter.

                                                                                                                  • fragment : Option String

                                                                                                                    Optional fragment identifier (the part after '#'), percent-encoded.

                                                                                                                  Instances For
                                                                                                                    Equations
                                                                                                                    • One or more equations did not get rendered due to their size.
                                                                                                                    Instances For
                                                                                                                      @[instance_reducible]
                                                                                                                      Equations
                                                                                                                      Equations
                                                                                                                      • One or more equations did not get rendered due to their size.
                                                                                                                      Instances For
                                                                                                                        @[instance_reducible]
                                                                                                                        Equations
                                                                                                                        @[instance_reducible]
                                                                                                                        Equations
                                                                                                                        • One or more equations did not get rendered due to their size.

                                                                                                                        Fluent builder for constructing URIs. Takes raw (unencoded) strings and handles encoding automatically when building the final URI.

                                                                                                                        • scheme : Option Scheme

                                                                                                                          The URI scheme (e.g., "http", "https").

                                                                                                                        • userInfo : Option UserInfo

                                                                                                                          User information (username and optional password).

                                                                                                                        • host : Option Host

                                                                                                                          The host component.

                                                                                                                        • port : Port

                                                                                                                          The port number.

                                                                                                                        • pathSegments : Array String

                                                                                                                          Path segments (will be encoded when building).

                                                                                                                        • Query parameters as (key, optional value) pairs (will be encoded when building).

                                                                                                                        • fragment : Option String

                                                                                                                          Fragment identifier (will be encoded when building).

                                                                                                                        Instances For

                                                                                                                          Creates an empty URI builder.

                                                                                                                          Equations
                                                                                                                          Instances For

                                                                                                                            Attempts to set the URI scheme (e.g., "http", "https"). Returns none if the scheme is not a valid RFC 3986 scheme. The stored scheme is normalized to lowercase.

                                                                                                                            Equations
                                                                                                                            • One or more equations did not get rendered due to their size.
                                                                                                                            Instances For

                                                                                                                              Sets the URI scheme (e.g., "http", "https"). Panics if the scheme is invalid. Use setScheme? if you need a safe option-returning version.

                                                                                                                              Equations
                                                                                                                              • One or more equations did not get rendered due to their size.
                                                                                                                              Instances For
                                                                                                                                def Std.Http.URI.Builder.setUserInfo (b : Builder) (username : String) (password : Option String := none) :

                                                                                                                                Sets the user information with username and optional password. The strings will be automatically percent-encoded.

                                                                                                                                Equations
                                                                                                                                • One or more equations did not get rendered due to their size.
                                                                                                                                Instances For

                                                                                                                                  Sets the host from a dotted-quad IPv4 address (127.0.0.1), which becomes an IPv4 host as in a parsed URI, or from a domain name, returning none if it is neither. The domain name will be automatically lowercased. Only ASCII alphanumeric characters, -, _ and dots are allowed. Each label cannot start or end with - and is limited to 63 characters, and the last label cannot be a number (127.1 is refused). Internationalized domain names must be converted to punycode before use.

                                                                                                                                  Equations
                                                                                                                                  • One or more equations did not get rendered due to their size.
                                                                                                                                  Instances For

                                                                                                                                    Sets the host like setHost?, panicking if name is neither a dotted-quad IPv4 address nor a valid domain name.

                                                                                                                                    Equations
                                                                                                                                    • One or more equations did not get rendered due to their size.
                                                                                                                                    Instances For

                                                                                                                                      Sets the host as an IPv4 address.

                                                                                                                                      Equations
                                                                                                                                      • One or more equations did not get rendered due to their size.
                                                                                                                                      Instances For

                                                                                                                                        Sets the host as an IPv6 address.

                                                                                                                                        Equations
                                                                                                                                        • One or more equations did not get rendered due to their size.
                                                                                                                                        Instances For

                                                                                                                                          Sets the port number.

                                                                                                                                          Equations
                                                                                                                                          Instances For

                                                                                                                                            Replaces all path segments. Segments will be automatically percent-encoded when building.

                                                                                                                                            Equations
                                                                                                                                            Instances For

                                                                                                                                              Appends a single segment to the path. The segment will be automatically percent-encoded when building.

                                                                                                                                              Equations
                                                                                                                                              • One or more equations did not get rendered due to their size.
                                                                                                                                              Instances For

                                                                                                                                                Adds a query parameter with a value. Both key and value will be automatically percent-encoded when building.

                                                                                                                                                Equations
                                                                                                                                                • One or more equations did not get rendered due to their size.
                                                                                                                                                Instances For

                                                                                                                                                  Adds a query parameter without a value (flag parameter). The key will be automatically percent-encoded when building.

                                                                                                                                                  Equations
                                                                                                                                                  Instances For

                                                                                                                                                    Replaces all query parameters. Keys and values will be automatically percent-encoded when building.

                                                                                                                                                    Equations
                                                                                                                                                    Instances For

                                                                                                                                                      Sets the fragment identifier. The fragment will be automatically percent-encoded when building.

                                                                                                                                                      Equations
                                                                                                                                                      Instances For

                                                                                                                                                        Builds a complete URI from the builder state, encoding all components. Defaults to "https" scheme if none is specified.

                                                                                                                                                        Equations
                                                                                                                                                        • One or more equations did not get rendered due to their size.
                                                                                                                                                        Instances For
                                                                                                                                                          def Std.Http.URI.withScheme! (uri : URI) (scheme : String) :

                                                                                                                                                          Returns a new URI with the scheme replaced.

                                                                                                                                                          Equations
                                                                                                                                                          Instances For

                                                                                                                                                            Returns a new URI with the authority replaced.

                                                                                                                                                            Equations
                                                                                                                                                            Instances For
                                                                                                                                                              def Std.Http.URI.withPath (uri : URI) (path : Path) :

                                                                                                                                                              Returns a new URI with the path replaced.

                                                                                                                                                              Equations
                                                                                                                                                              Instances For
                                                                                                                                                                def Std.Http.URI.withQuery (uri : URI) (query : Query) :

                                                                                                                                                                Returns a new URI with the query replaced.

                                                                                                                                                                Equations
                                                                                                                                                                Instances For
                                                                                                                                                                  def Std.Http.URI.withFragment (uri : URI) (fragment : Option String) :

                                                                                                                                                                  Returns a new URI with the fragment replaced.

                                                                                                                                                                  Equations
                                                                                                                                                                  Instances For

                                                                                                                                                                    Partially normalizes a URI by removing dot-segments from the path (. and ..) according to RFC 3986 Section 5.2.4.

                                                                                                                                                                    This does not apply the full normalization set from RFC 3986 Section 6 — for example, case normalization, percent-encoding normalization, and default-port normalization are not performed.

                                                                                                                                                                    Equations
                                                                                                                                                                    Instances For

                                                                                                                                                                      The web origin of an HTTP connection: the (scheme, host, port) triple that identifies where a connection is established, per RFC 6454.

                                                                                                                                                                      Two Origin values are equal when all three components match, which is the standard same-origin check used for redirect and credential decisions.

                                                                                                                                                                      • scheme : Scheme

                                                                                                                                                                        URI scheme ("http" or "https").

                                                                                                                                                                      • host : Host

                                                                                                                                                                        Hostname or IP address.

                                                                                                                                                                      • port : UInt16

                                                                                                                                                                        Port number.

                                                                                                                                                                      Instances For
                                                                                                                                                                        Equations
                                                                                                                                                                        • One or more equations did not get rendered due to their size.
                                                                                                                                                                        Instances For
                                                                                                                                                                          Equations
                                                                                                                                                                          Instances For

                                                                                                                                                                            Constructs the canonical host[:port] string, omitting the port when it is the default for the scheme.

                                                                                                                                                                            Equations
                                                                                                                                                                            Instances For

                                                                                                                                                                              A relative reference as defined in RFC 3986 Section 4.2.

                                                                                                                                                                              relative-ref  = relative-part [ "?" query ] [ "#" fragment ]
                                                                                                                                                                              relative-part = "//" authority path-abempty
                                                                                                                                                                                            / path-absolute
                                                                                                                                                                                            / path-noscheme
                                                                                                                                                                                            / path-empty
                                                                                                                                                                              

                                                                                                                                                                              Unlike a full URI, a relative reference carries no scheme. The authority is present only when the path begins with "//".

                                                                                                                                                                              • authority : Option Authority

                                                                                                                                                                                Optional authority component, present only when the reference begins with "//".

                                                                                                                                                                              • path : Path

                                                                                                                                                                                The hierarchical path component.

                                                                                                                                                                              • query : Option Query

                                                                                                                                                                                Optional query string as key-value pairs. some .empty preserves an explicit empty query delimiter.

                                                                                                                                                                              • fragment : Option String

                                                                                                                                                                                Optional fragment identifier (the part after '#'), decoded.

                                                                                                                                                                              Instances For
                                                                                                                                                                                Equations
                                                                                                                                                                                • One or more equations did not get rendered due to their size.
                                                                                                                                                                                Instances For
                                                                                                                                                                                  Equations
                                                                                                                                                                                  • One or more equations did not get rendered due to their size.
                                                                                                                                                                                  Instances For
                                                                                                                                                                                    @[instance_reducible]
                                                                                                                                                                                    Equations
                                                                                                                                                                                    • One or more equations did not get rendered due to their size.

                                                                                                                                                                                    A URI reference as defined in RFC 3986 Section 4.1:

                                                                                                                                                                                    URI-reference = URI / relative-ref
                                                                                                                                                                                    

                                                                                                                                                                                    Use URIReference when parsing a value that may be either a complete URI (with scheme) or a relative reference (without scheme), such as the Location response header in HTTP redirects (RFC 9110 §10.2.2).

                                                                                                                                                                                    • absolute (uri : URI) : URIReference

                                                                                                                                                                                      A complete URI with a scheme (e.g., "http://example.com/path").

                                                                                                                                                                                    • relative (ref : URI.RelativeRef) : URIReference

                                                                                                                                                                                      A relative reference without a scheme (e.g., "../other", "//example.com/path", "?q=1").

                                                                                                                                                                                    Instances For
                                                                                                                                                                                      Equations
                                                                                                                                                                                      • One or more equations did not get rendered due to their size.
                                                                                                                                                                                      Instances For
                                                                                                                                                                                        @[instance_reducible]
                                                                                                                                                                                        Equations
                                                                                                                                                                                        • One or more equations did not get rendered due to their size.

                                                                                                                                                                                        HTTP request target forms as defined in RFC 9112 Section 3.3.

                                                                                                                                                                                        Reference: https://www.rfc-editor.org/rfc/rfc9112.html#section-3.3

                                                                                                                                                                                        • originForm (path : URI.Path) (query : Option URI.Query) : RequestTarget

                                                                                                                                                                                          Origin-form request target (most common for HTTP requests). Consists of a path and an optional query string. Example: /path/to/resource?key=value

                                                                                                                                                                                        • absoluteForm (uri : URI) : RequestTarget

                                                                                                                                                                                          Absolute-form request target containing a complete URI. Used when making requests through a proxy. Example: http://example.com:8080/path?key=value

                                                                                                                                                                                        • authorityForm (authority : URI.Authority) : RequestTarget

                                                                                                                                                                                          Authority-form request target (used for CONNECT requests). Example: example.com:443

                                                                                                                                                                                        • asteriskForm : RequestTarget

                                                                                                                                                                                          Asterisk-form request target (used with OPTIONS requests). Example: *

                                                                                                                                                                                        Instances For
                                                                                                                                                                                          Equations
                                                                                                                                                                                          • One or more equations did not get rendered due to their size.
                                                                                                                                                                                          Instances For

                                                                                                                                                                                            Extracts the path component from a request target, if available. Returns an empty relative path for targets without a path.

                                                                                                                                                                                            Equations
                                                                                                                                                                                            Instances For

                                                                                                                                                                                              Extracts the query component from a request target, if available. Returns an empty array for targets without a query.

                                                                                                                                                                                              Equations
                                                                                                                                                                                              Instances For

                                                                                                                                                                                                Extracts the authority component from a request target, if available.

                                                                                                                                                                                                Equations
                                                                                                                                                                                                Instances For
                                                                                                                                                                                                  @[instance_reducible]
                                                                                                                                                                                                  Equations
                                                                                                                                                                                                  • One or more equations did not get rendered due to their size.