Supporting list for POST data #1571
Unanswered
devl00p
asked this question in
Potential Issue
Replies: 1 comment 3 replies
-
Could you be more specific about how to reproduce the behaviour you're seeing? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I'm trying to port my project from
requests
tohttpx
and I bumped into a problem with POST requests.The error was
'async for' requires an object with __aiter__ method
but after debugging in turns out thatbuild_request
expects adict
only for thedata
parameter while it worked withrequests
with a list of lists like this:Is there any reason why
data
expects typeRequestData
(dict
) and notQueryParamTypes
like theparams
parameter ?As my project is a web vulnerability scanner it is important to be able to give duplicate keys in order to detect some kind of vulnerabilities and it may benefit for other usages too (I already saw some websites using duplicate fields in a form as a way to detect bots ; meaning that browsers will send the duplicate field but not the bots).
Can an issue be created to allow more types for the
data
parameter ?Thank you
Beta Was this translation helpful? Give feedback.
All reactions