Ben Hoyt wrote:
>  
> 
>     class a:
>       def GET(self):
>         pass
>       POST = GET
> 
> 
> You may well know this already, but just note that doing the above is 
> generally a Bad Idea -- web.py separates out HTTP methods into Python 
> methods nicely, and GET and POST should almost always have a different 
> meaning.
> 
> GET is normally only for viewing ("getting") a resource, POST is "doing 
> stuff" on one. See more on the difference here:
>     http://www.cs.tut.fi/~jkorpela/forms/methods.html
> 
> Cheers,
> -Ben

Not my idea :) this is more about web.py's API than actual WWW 
standards, though.

--~--~---------~--~----~------------~-------~--~----~
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