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
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm trying to port my project from
requeststohttpxand I bumped into a problem with POST requests.The error was
'async for' requires an object with __aiter__ methodbut after debugging in turns out thatbuild_requestexpects adictonly for thedataparameter while it worked withrequestswith a list of lists like this:Is there any reason why
dataexpects typeRequestData(dict) and notQueryParamTypeslike theparamsparameter ?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
dataparameter ?Thank you
Beta Was this translation helpful? Give feedback.
All reactions