aws_sigv4/http_request/
url_escape.rs

1
2
3
4
5
6
7
8
9
10
/*
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * SPDX-License-Identifier: Apache-2.0
 */

use aws_smithy_http::label;

pub(super) fn percent_encode_path(value: &str) -> String {
    label::fmt_string(value, label::EncodingStrategy::Greedy)
}