Skip to content

Query Parameters don't pass lists literally #1596

Answered by johtso
ghost asked this question in Potential Issue
Discussion options

You must be logged in to vote

HTTPX is just trying to be helpful and represent your list in the proper query parameter fashion, which is to declare the same key multiple times with each value.

If you want to avoid this behaviour, just turn your list into a string in the format you want it to be transmitted in :)

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@ghost
Comment options

@tomchristie
Comment options

Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants