On Tue, 2002-05-14 at 16:26, Xiaowei Jiang wrote:
> Many http server (probably most) don't implements the HEAD method. Even they
> do, it's not reliable. The only thing you can count on an http server is
> that it works with a browser. So if you do exactly the same thing as what a
> browser does, it should work. Try to turn on the log as suggested by otisg
> and see what was going on.

my app is a validating web spider, so to run in any reasonable amount of
time and not waste bandwidth, i really need to issue HEAD requests when
checking the existence of resources i don't care to parse (e.g. images,
flash movies, etc.). my workaround for the real server works fine - try
the HEAD method and it i get an exception, fall back on GET. httpclient
is definitely doing the correct thing and throwing an exception when the
real server rudely closes the connection without issuing an http
response.

- donald

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

Reply via email to