On 25 Jan 2008, at 16:38, [EMAIL PROTECTED] wrote:
> how do i create a class that has same definitions for both GET and  
> POST?

class blah:
        def GET(self):
                ...
        POST = GET

I think that would work.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" 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/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to