test 1. connection=close
====================
curl -H "Content-Type: text/xml; charset=utf-8" \
-H "connection: close" \
-H "SOAPAction:" \
-d @Soap_Request.xml \
-X POST http://host:port/service
will send the following header containing "connection=[close]"
Headers: {Accept=[*/*], connection=[close], Content-Length=[1146],
content-type=[text/xml; charset=UTF-8], Expect=[100-continue],
libcurl/7.19.6 OpenSSL/0.9.8k zlib/1.2.3]}
------------------------------------------------------------------------------
test 2. connection not defined
=========================
curl -H "Content-Type: text/xml; charset=utf-8" \
-H "SOAPAction: " \
-d @Soap_Request.tmp \
-X POST http://host:port/service
will send the following header containing without connection attribute.
Headers: {Accept=[*/*], Content-Length=[1146], content-type=[text/xml;
User-Agent=[curl/7.19.6 (sparc-sun-solaris2.10) libcurl/7.19.6 OpenSSL/0.9.8k
zlib/1.2.3]}
------------------------------------------------------------------------------
>>
Thanks and regards