Hi,

I have a big list of URLs and the only data I need to fetch are the server
response headers for each URL.
What is the fastet way to get this data while NOT downloading the actual
content?

My current code:

client.executeMethod(method);
Header[] headers = method.getResponseHeaders();
(do something with the header data)
method.releaseConnection();

The code is actually doing fine, I just wonder if there are other - more
effective - ways to retrieve server response headers for a particular url.

Thanks

Hannes

Reply via email to