Hi there,
based on the examples here:
http://projects.unbit.it/uwsgi/wiki/CustomRouting
I try to figure out, how to read the HTTP body and forward it at the same time
with uwsgi.send_message.
My custom routing needs to read the HTTP body to make a routing decision. Doing
e['uwsgi.input'].read does not work, because there is no seek(-1) possible
(uwsgi._Input). I also tried to fdopen(e['uwsgi.input'].fileno()) to no avail.
Is there a way to do that?
Thanks,
Kaweh
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi