so there is no spoon - i mean POST?
there is only GET(?)
On Oct 31, 9:27 am, Chris Brannon <[email protected]> wrote:
> xrfang <[email protected]> wrote:
> > But one small issue on webpy side: while it is clear to use a GET and
> > a POST method, what if I would like to use one method to handle either
> > POST or GET?
>
> class foo_handler:
> def GET(self):
> # do whatever
>
> POST = GET
>
> -- Chris
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---