Skip to content

Conversation

@hmacias-avaya
Copy link

When doing something like

let url = "http://something.com/get?param1=value1";
let request = Request::get(url).build().unwrap();

the request created will target http://something.com/get?param1=value1& and not the original url, http://something.com/get?param1=value1 (note there is an '&' added).

I'm providing a test and the fix for it.
Sorry I couldn't figure out how to put the test where it should be going (somewhere in http?)

…ring the resulting url does not end up with an extra trailing '&'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant