ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> xml-dev
xml-dev
Re: [xml-dev] What does SOAP really add?
by Alaric Snell other posts by this author
Apr 23 2002 2:21PM messages near this date
Re: [xml-dev] What does SOAP really add? | Re: [xml-dev] What does SOAP really add?
On Tuesday 23 April 2002 15:07, you wrote:

>  Didier replies:
>  Can you explain to me how an HTTP POST brings more side effects than an
>  HTTP GET.

GETs are supposed to be idempotent; caches are welcome to cache GET requests 
and service later requests to that resource without hitting the server again, 
etc. In most cases, the only difference between performing one GET and 
performing two GETs should be in the server's logs!

POSTs are assumed to have some effect upon the world, so that performing two 
POSTs is not necessarily the same as performing one POST.

>  So, I am anxious to read your arguments of how an HTTP POST
>  will bring more side effects than an HTTP GET (in the context of fetching
>  an XML document and incorporating it into an infoset). This will expand my
>  knowledge :-)

There's nothing stopping developers from making 'GET 
http://www.missiles.gov/launch' destroy the world, and requiring people to do 
a POST to some URL (perhaps even the same URL!) to find out the current 
weather in Alaska, indeed.

But by convention, 'fetching a[n XML] document' ought to be done with GET, 
and things involving activating behaviour (RPCs, basically, although people 
here get a bit touchy about that word) done with POST, and things involving 
overwriting a document with PUT, and so on.

>  cheers
>  Didier PH Martin

ABS

-- 
                               Alaric B. Snell
 http://www.alaric-snell.com/  http://RFC.net/  http://www.warhead.org.uk/
   Any sufficiently advanced technology can be emulated in software  

-----------------------------------------------------------------
The xml-dev list is sponsored by XML.org <http://www.xml.org> , an
initiative of OASIS <http://www.oasis-open.org> 

The list archives are at http://lists.xml.org/archives/xml-dev/

To subscribe or unsubscribe from this list use the subscription
manager: <http://lists.xml.org/ob/adm.pl> 
Thread:
Joshua Allen
Didier PH Martin
Paul Prescod
Didier PH Martin
Didier PH Martin
Jeff Greif
Paul Prescod
Paul Prescod
Didier PH Martin
Paul Prescod
Paul Prescod
Thomas B. Passin
Didier PH Martin
Didier PH Martin
Thomas B. Passin
Paul Prescod
Paul Prescod
Paul Prescod
Didier PH Martin
Didier PH Martin
Alaric Snell
Didier PH Martin
Didier PH Martin
Julian Reschke
John Cowan
Alaric Snell
Jim Ancona
Didier PH Martin
Alaric Snell
Jim Ancona
John Cowan
Thomas B. Passin
Didier PH Martin
Michael Kay
Francis Norton
Adam Turoff
Mike Brown
Julian Reschke
Alaric Snell
Nischal Muthana
Thomas B. Passin
Didier PH Martin
John Cowan
Didier PH Martin
John Cowan
Trevor Croll
Peter Murphy
Didier PH Martin
Didier PH Martin
Paul Prescod

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved