At 14:59 06/07/1999 +0400, Sergei I. wrote:
Arial CYRI'm one Russian
programmer that use your wwwlib. I'm going to use it for HTTP robot.
My download algorithm requests HEAD method and after some checkings does
GET method or skip www resource.
BUT some www resouces after using HEAD makes -902 HT_INTERRUPT error when
I do GET method.
and after that all requests are being closed.
Arial CYRHere is the log:
Arial CYRHost Event.. READ passed to
Error....... Add 62 Severity: 8 Parameter: `<
' Where: `HTTPStatusStream'
StreamStack. Constructing stream stack for www/unknown to www/present
Response.... Created 00CBF590
HTTP Status. `localhost' is probably a broken 1.0 server that doesn't
Read Socket. Target ERROR -1
Host kill... Pipeline due to HTEvent_CLOSE event
Host kill... Terminating net object 00CB0750 from pipe line
Error....... Add 59 Severity: 1 Parameter: `Unspecified' Where:
HTTP Clean.. Called with status -902, net 00CB0750
You have the problem right here - the robot sends a HEAD request to a
server which apparently says it is an HTTP/1.1 server but doesn't
understand HEAD (which is required by HTTP) and sends back the whole
body. This of course destroys the pipeline completely and therefore
libwww aborts the operation. That is, the server is the problem here.
Henrik Frystyk Nielsen,
World Wide Web Consortium