Skip to content

Hyper client discards query string when making requests #75

Closed
@gtolle

Description

@gtolle

Hi all,

Found an issue while using Hyper's HTTP client.

When starting the request, Hyper calls rust-url's serialize_path function to generate the first header line, but serialize_path discards the query string from the URL. This breaks any GET request that depends on query parameters.

I sent a new pull request to rust-url that introduces a serialize_path_with_query method specifically so that Hyper can use it.

servo/rust-url#38

If serialize_path_with_query gets merged into rust-url, I'm happy to create a pull request that updates Hyper to match.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions