Skip to content

Make it easier to mutate query parameters in Uri #577

Open
@jdisanti

Description

@jdisanti

In the AWS SDK, we needed to insert query parameters in an existing Uri for our presigning implementation. There wasn't an easy way to do this in http, so we ended up writing the following QueryWriter:

https://github.com/awslabs/smithy-rs/blob/a0539e20b069a7de021c84521d8f3c7ba098ad6d/aws/rust-runtime/aws-sigv4/src/http_request/query_writer.rs#L9-L73

It would be nice to have built-in utilities for manipulating URI components either in this crate, or in a separate related utility crate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-uriArea: Uri and partsB-rfcBlocked: request for comments. More discussion would help move this along.S-featureSeverity: feature. This adds something new.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions