Skip to main content

normalize_path

Function normalize_path 

Source
fn normalize_path(path: &str) -> String
Expand description

Normalizes a request path for the SigV4 canonical URI: an empty path becomes /, and a trailing slash on a non-root path is dropped.