Parse URL and extract userinfo credentials for headers.
Handles URLs of the form: https://user:password@host:port/path
Scheme-less URLs (e.g., host:port) are also accepted and will be
given a default http:// scheme.
| Name | Type | Description |
|---|---|---|
url* | str | None | The URL to parse. |