Skip to main content

Module identifier

Module identifier 

Source
Expand description

Server identifiers (AAuth §Server Identifiers) and origin comparison.

Functions§

authority
The host[:port] a request to url is addressed to, lowercased.
is_server_identifier
https://host: lowercase, no port, path, query, fragment or trailing slash, and a host name rather than an IP address. Two identifiers compare by exact string equality.
same_origin
Whether two URLs share scheme, host and port.
trim
A URL with its trailing slashes removed.