On Wed, 19 Dec 2007 12:55:18 -0800 (PST), Gary Jefferson <[EMAIL PROTECTED]> wrote:
I notice that twisted.web.resource supports GET, PUT, and POST (via render_ methods), but not DELETE. Is this intentional, or are there some plans to add support for those of us who want to do full-fledged REST with twisted-web?
Are you sure? If you implement render_DELETE on a Resource, I think twisted.web will call it.
I haven't looked at figuring out httpclient support for the same in twisted yet, but I'm assuming that sending DELETE/PUT is similar to sending POST, i.e., use putrequest() with 'DELETE'?
I'm not sure what putrequest is. I also don't really know what the contents of a DELETE request might be, so I probably couldn't say anything useful here even if I did know what putrequest is. Jean-Paul _______________________________________________ Twisted-web mailing list [email protected] http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web
