[htdig3-dev] Following 301 & 302 redirects.


Subject: [htdig3-dev] Following 301 & 302 redirects.
From: Patrick (patrick@aol2.com)
Date: Thu Jul 20 2000 - 08:59:50 PDT


I don't think that htdig is following the Location of the 30x redirect
headers properly. The IIS server I'm trying to spider sends headers like
this (in htdig output format)

Header line: HTTP/1.1 302 Object moved
Header line: Server: Microsoft-IIS/4.0
Header line: Date: Thu, 20 Jul 2000 15:56:45 GMT
Header line: Location: testdir.ASP?page=15
Header line: Connection: Keep-Alive
Header line: Content-Length: 140
Header line: Content-Type: text/html
Header line: Cache-control: private
Header line:
returnStatus = 3
  redirect
redirect:

    Rejected: Not an http or relative link!pick: , # servers = 2

The Location does not contain "http://www.foo.om/" -- but, it should
still be treated as a relative link by htdig, shouldn't it?

------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
htdig3-dev-unsubscribe@htdig.org
You will receive a message to confirm this.



This archive was generated by hypermail 2b28 : Wed Jul 19 2000 - 23:00:26 PDT