Re: HTTP client API problem, pease help

On Tue, 3 Sep 2002 Ext-Vincent.Bourdaraud@nokia.com wrote:

>
> Hi all,
>
> I'm using the Jigsaw 2.2.1 HTTP client API. This API send all request
> with HTTP1.1 and keep-alive settings. How is it possible to set HTTP/1.1
> with connection-close settings? This would be really helpfull :)

You can do this easily with:
HttpManager.getManager().setGlobalHeader(String header, String value);
However there is some corrected code in CVS that uses jdk1.4 socket close
detection, so connection reuse is no longer done by trial/error.
Hope this helps,

-- 
Yves Lafon - W3C
"Baroula que barouleras, au tiéu toujou t'entourneras."

Received on Tuesday, 3 September 2002 12:37:39 UTC