Skip to main content

Crate url_normalize

Crate url_normalize 

Source

Structs§

Options
Options for URL normalization.

Enums§

EmptyQueryValue
Controls how query parameters with empty values are formatted.
NormalizeUrlError
Errors that can occur during URL normalization.
Protocol
Default protocol for URLs without a scheme.
QueryFilter
A filter for matching query parameter keys or path components.
RemoveDirectoryIndex
Controls whether directory index files will be removed from the path.
RemoveQueryParameters
Controls whether query parameters will be removed.

Functions§

normalize_url
Normalize a URL string according to the provided options.

Type Aliases§

TransformPathFn
Type alias for the transform_path callback.