> In my limited beginner's understanding of REST interfaces and HTML,
> I'm told it is proper to *pull* data from server with HTML GETs
> and to *push* data to server with HTML POSTs....is that right?

No, I don't think that's right.

> If yes, then how come MochiKit's doXHR function defaults to *GET* mode
> since it
> *pushes* data to server?  Shouldn't doXHR default to POST to be prim
> and
> proper?  :)

The GET method is a perfectly legitimate method of "pushing" data to
the server and in some sense simpler than POST which I think is the
motivation for mochikit's default behaviour.

> Just wondering,

Just my 2 cents :)

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

Reply via email to