Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Add functions to split URI query parts #281
Conversation
|
Thanks for the work and posting this. I agree that it would be nice to have a simple API for getting query parameters out. One difficulty is that Given this, I'm not sure if this code should live in the |
Hi,
this PR adds a function to parse the URI query into a HashMap to allow easier retrieval of the values plus some convenience functions. Finally, it is quite easy to just do:
The code is provided as is and I hope it helps someone. Please be aware that I am relatively new to Rust and hope that the added tests ensure that I did not screw up totally ;-)
Best,
Manuel