On Jul 22, 5:07 pm, John Schimmel wrote:
> Hello,
>
> Does Tipfy's RequestHandler have a DELETE method? I see GET, PUT, POST
> listed but DELETE is nothttp://
www.tipfy.org/wiki/guide/request-handler/.
>
> If it's not available, I would be curious if anyones know why it was left
> out. No biggie, just curious.
Hi,
Actually RequestHandler doesn't implement get()/post()/delete()/etc.
The method is retrieved on the fly based on the HTTP method. The
relevant line is:
http://code.google.com/p/tipfy/source/browse/tipfy/handler.py#78
And yes, DELETE works (you just need to extend RequestHandler and add
a delete() method, like others). The list of HTTP methods accepted by
default is here (it is the same as webapp):
http://code.google.com/p/tipfy/source/browse/tipfy/app.py#174
Hope this helps.
-- rodrigo