cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Request two minor changes to support SOAP in CURL

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 11 Feb 2001 21:17:04 +0100 (MET)

On Sun, 11 Feb 2001, Robin Lionheart wrote:

(This reply is CC'ed to the curl mailing list.)

> Please consider adding these following two minor features, which would
> make CURL a useful command-line SOAP (http://www.w3.org/TR/SOAP/) client.
>
> 1) The ability to set the Content-Type: on POST requests, since SOAP
> requests must be sent with "Content-Type: text/xml".

If you set the Content-Type: header, it'll work just like that.

> 2) The ability to set the contents of a SOAPAction: header, which is not
> absolutely necessary but does help web servers identify SOAP requests.

Set the header, and it'll work!

You set custom/replacing headers with -H using the command line tool.

-- 
      Daniel Stenberg - http://daniel.haxx.se - +46-705-44 31 77
   ech`echo xiun|tr nu oc|sed 'sx\([sx]\)\([xoi]\)xo un\2\1 is xg'`ol
Received on 2001-02-11