Check a base URL against every rule of baseUrlProblem — blank,
whitespace or control characters, unparseable, a scheme other than
http:/https:, a query or fragment, a backslash, a scheme not followed by // and
the host — and return it as WHATWG parses it (host lower-cased, a default port dropped,
the path percent-encoded where WHATWG does it), with trailing slashes stripped: the reading
every check of it makes (the host, the cleartext warning, the Authorization header Node
derives), so a transport that reads the request URL as text reaches the same host. A bad value throws a BundesratValidationError ("Invalid baseUrl:
"): it is a configuration error, not a transport failure. The default
transport still gates the scheme per hop, but the engine may be handed a custom
transport that does no such check, so the configured value is checked here.
Check a base URL against every rule of baseUrlProblem — blank, whitespace or control characters, unparseable, a scheme other than"): it is a configuration error, not a transport failure. The default
transport still gates the scheme per hop, but the engine may be handed a custom
transport that does no such check, so the configured value is checked here.
http:/https:, a query or fragment, a backslash, a scheme not followed by//and the host — and return it as WHATWG parses it (host lower-cased, a default port dropped, the path percent-encoded where WHATWG does it), with trailing slashes stripped: the reading every check of it makes (the host, the cleartext warning, the Authorization header Node derives), so a transport that reads the request URL as text reaches the same host. A bad value throws a BundesratValidationError ("Invalid baseUrl: