Re: HTTP client API problem, pease help

Yves Lafon <[email protected]> Tue, 3 Sep 2002 18:37:35 +0200 (MET DST)
Newsgroups gmane.comp.web.jigsaw
Message-ID <[email protected]>
On Tue, 3 Sep 2002 [email protected] 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."