W3C home > Mailing lists > Public > www-jigsaw@w3.org > September to October 2002

Re: HTTP client API problem, pease help

From: Yves Lafon <ylafon@w3.org>
Date: Tue, 3 Sep 2002 18:37:35 +0200 (MET DST)
To: Ext-Vincent.Bourdaraud@nokia.com
cc: www-jigsaw@w3.org
Message-ID: <Pine.GSO.4.44.0209031829440.7815-100000@tarantula.inria.fr>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:36 GMT