A base URL must not have surrounding whitespace: new URL() trims it silently,
but the engine joins the raw value to every request path, so "https://h/ "
would request /%20/... and a custom transport would see the padded value.
Rejected rather than trimmed, so the value used is the value given.
A base URL must not have surrounding whitespace:
new URL()trims it silently, but the engine joins the raw value to every request path, so"https://h/ "would request/%20/...and a custom transport would see the padded value. Rejected rather than trimmed, so the value used is the value given.