Hi Kirby,
> request.body.read()
>
> Before searching the group I searched through the source code, but I
> didn't find anything about request.body. I'm curious how does this
> work.
in gluon/main.py
request.body=tempfile.TemporaryFile()
if request.env.content_length:
copystream(request.env.wsgi_input,request.body,
int(request.env.content_length))
This,request.env.wsgi_input, is standard wsgi so should be documented
somewhere.
> On a related note, I have not made a posting to AlterEgo yet. Others
> might find the request.body.read() tip useful so I would like to make
> a posting. Are there rules about posting to AlterEgo?
Not really. It is published until I approve it. So far I have approved
everything form members of the group.
> Can anyone post a new entry?
yes
> I'm always hesitant posting to public areas list AlterEgo when I'm new to a
> community like this one.
do not be.
you may also want to consider (in addition, not in alternative) to
post on
http://mdp.cti.depaul.edu/web2py_wiki
Massimo
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---