-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HTTP POST not working #72
Labels
Comments
you probably should use wsgi server. it should work fine readpayload=True.
|
Well, that's basically what I'm doing so I'm a bit perplexed why I don't get the payload. I'll look at using wsgi and perhaps dig around in the innards of aiohttp to understand things a bit better. Thanks for the suggestion. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
An HTTP POST example would be really helpful as I'm struggling to read the payload data in the received request.
The generator returned by payload.read() (DataQueue.read()) never returns anything so either I'm doing something wrong or the generator is broken. I'm assuming here that the generator will return the POST payload data (I haven't gone through the aiohttp code in any detail to be sure) Some documentation and an example would be really helpful.
Is my assumption incorrect or should I be doing something completely different to get to the POST data?
I'm using jquery $.post to make the request.
Thanks,
JP
The text was updated successfully, but these errors were encountered: