This could be changed but I do not know if put requests contain data
in body (as post) or url (as get). Can somebody point me to a relevant
rfc?

On Jul 31, 9:04 pm, Bottiger <[email protected]> wrote:
> You will need to do request.body.read() for PUT. Web2Py does not parse
> the body of PUT requests.
>
> Example:
>
> Request:
>
> PUT /test/default/ HTTP/1.1
> Content-Length: 21
>
> blah blah hello hello
>
> Output:
>
> Body
> "blah blah hello hello"
>
> On Jul 31, 12:28 am, 诚子 <[email protected]> wrote:
>
> > Hi, I wan't use PUT method and DELETE method,to build a RESTful
> > service,how to get an PUT method and DELETE data?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to