smart_urlquote
Quote a URL if it isn't already quoted.
def smart_urlquote(
url: string
) - > string
Quote a URL if it isn't already quoted.
Parameters
| Name | Type | Description |
|---|---|---|
| url | string | The raw URL string to be normalized and quoted, which may contain unencoded characters or internationalized domain names. |
Returns
| Type | Description |
|---|---|
string | The normalized URL string where the network location, path, query parameters, and fragments are safely percent-encoded. |