Fabien Meghazi wrote:
>> > I notice that I can expose GET and POST. Can I expose PUT and DELETE
>> > as well? This would give me full crud/rest compliance :D
>
> Is there a way to match both GET and POST or should be alias the methods ?
>
class a:
def GET(self):
pass
POST = GET
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---