A base URL must not carry whitespace or control characters. new URL() trims
surrounding whitespace and drops tab/CR/LF silently, but the engine joins the raw
string to each request path, so "https://h/MaStR " would request /MaStR%20/...
and a custom transport would see the raw value. Reject rather than guess.
A base URL must not carry whitespace or control characters.
new URL()trims surrounding whitespace and drops tab/CR/LF silently, but the engine joins the raw string to each request path, so "https://h/MaStR " would request/MaStR%20/...and a custom transport would see the raw value. Reject rather than guess.