Replies: 1 comment 1 reply
-
I'll close this as outdated. Correct me if wrong. |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
Currently if you want to parse a form without consuming the body you have to do:
It might be nice to add a
Request.form(consume=False)
API and aRequest.json(consume=True)
API to make this more intuitive.Also for the JSON case there is no way to read a JSON body without duplicating it in memory, although JSON parsing is much easier than form parsing so it's not that big of a deal (it would be if it was the other way around).
Beta Was this translation helpful? Give feedback.
All reactions