results in a hang..
Instead, a GET request returns correctly.
I verified that the server supports HEAD requests, and actually it does..
The chunk of code I used is straightforward:
String urlName = new String(http://www.ipswitch.com/ cgi/download_eval.pl?product=main);
HeadMethod head_method = newHeadMethod(urlName);
head_method.setFollowRedirects(true);
head_method.setRequestHeader("User-Agent","Mozilla/5.0 (X11; U; Linux i686; it-IT; rv:1.3) Gecko/20030312");
responseCode = client_head.executeMethod(head_method);
the last call hangs indefinitely..
What could it be?
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
