Probably this:
http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.6

I quickly skimmed through it and it seems that syntax is the same as with POST 
with the difference that transferred contents must be saved under specified 
path instead of being processed by some back-end.

On Saturday 01 August 2009 14:49:36 mdipierro wrote:
> 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?
>
> 


-- 
Sincerely yours
Alexey Nezhdanov

--~--~---------~--~----~------------~-------~--~----~
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