I believe that HEAD has already been updated to use the v2 of the HTTP Client.

Jeremy Ford
[EMAIL PROTECTED]


From: "Sez" <[EMAIL PROTECTED]>
Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]>
To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
Subject: Http-client version 2
Date: Thu, 17 Jun 2004 16:34:02 +0200

I work with jetspeed 1.5 and i must update htttpclient from version 1 to
version 2.
I changed it and i only had problems with URLToDocHandler.java.

In line 100 i changed

try
content = method.getDataAsString();
catch (IOException ioe)
{
logger.error("Getting content for " + pageToAdd.toString(), ioe);
}

To

content=method.getResponseBodyAsString();

My application goes well, so i undertand that it's correct.
It's possible that somebody update this for next version?? I don't have cvs
client...




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]


_________________________________________________________________
MSN 9 Dial-up Internet Access fights spam and pop-ups � now 3 months FREE! http://join.msn.click-url.com/go/onm00200361ave/direct/01/



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to