[XML-SIG] GET vs POST (was WSDL library ?)
Dierk Hoeppner
d.hoeppner@tu-bs.de
Fri, 15 Feb 2002 10:34:10 +0100
> For all practical purposes, the method can be only "GET" or
> "POST". Those are really synonymous; it is merely a protocol variant
> (i.e. POST can be taken to mean "do not cache", so it is part of the
> protocol header).
Not quite 'synonymous'': GET Options are stored in an environmentvariable QUERY_STRING by
the server before calling the cgi program. Environment variables mostly have a limited length.
With POST the CGI has to read the standard input. That stream can be much much longer than
QUERY_STRING.
Using POST is safer because you don't need to know which operating system the web server
runs on.
Dierk
Dierk Hoeppner
Universitaetsbibliothek
Pockelsstr. 13
D-38106 Braunschweig
Germany
Tel: +49-531-391-5066 Fax: -5836
E-Mail: d.hoeppner@tu-bs.de