You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Query params should support list-of-strings values. #366
I can confirm this is a bug: multivalued query params are encoded in the form of a Python list. I discovered it in #298 but didn't think about open an issue:
changed the title [-]Difference in preparing query params between requests and httpx[/-][+]Query params should support list-of-strings values.[/+]on Sep 25, 2019
Activity
senpos commentedon Sep 21, 2019
Here's a bit more "live" example:
Results:
florimondmanca commentedon Sep 21, 2019
Hi @senpos! Thank you for reporting this.
I can confirm this is a bug: multivalued query params are encoded in the form of a Python list. I discovered it in #298 but didn't think about open an issue:
httpx/tests/compat/test_requests.py
Lines 1006 to 1019 in 39348dd
sethmlarson commentedon Sep 23, 2019
We should look at adding some requests compatibility tests for this if they exist. :)
[-]Difference in preparing query params between requests and httpx[/-][+]Query params should support list-of-strings values.[/+]lovelydinosaur commentedon Sep 25, 2019
Thanks for opening the issue!
Retitled to make this more clearly specific.