David Terrell wrote:
> On Fri, Jan 25, 2008 at 01:38:49PM -0800, [EMAIL PROTECTED] wrote:
>> how do i create a class that has same definitions for both GET and POST?
> 
> Read RFC 2616, three times, then come back and tell us you figured it out.
> 
> POST is for side-effects.  GET is for no side-effects.  They are not
> the same thing.  They cannot be the same thing.

That's funny, I only read it once and I immediately thought "Hey, 
actually, these methods act /exactly/ the same when, for example, they 
are trying to access a resource that does not exist or that they have no 
permission to."

Relax dude.

To the OP: did Adam Atlas' solution [1] not suffice? What exactly do you 
want to achieve?

Greetings,
b^4

[1] http://groups.google.com/group/webpy/msg/b84b97058c3a76fe

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