Gilles Detillieux (firstname.lastname@example.org)
Tue, 17 Aug 1999 11:17:22 -0500 (CDT)
According to peter karlsson:
> > There are two strange things about this. First of all, as you point out,
> > the problem started before you started indexing through Squid. Secondly,
> > if htdig doesn't receive a Content-Type header, it shouldn't even attempt
> > to index the document at all.
> I think I have found the problem. phttpd doesn't seem to send the
> Content-Type header if the client sends the "If-Modified-Since" header. I do
> not know if this is something it should do (assuming that the client already
> knows the content-type, or something), or if it is a bug.
I don't know what the HTTP standard has to say about this. It seems to me
to be a bad assumption on phttpd's part, but it may be that the standard
allows it. In any case, it seems it would be a good idea to make htdig
remember the content-type of previously indexed documents, and use it by
default. Unfortunately, that information isn't currently stored in the
database, so it's not exactly a trivial change, and it would require a
full reindexing before the new information would be able to take effect.
Perhaps this should be considered for the 3.2 development.
-- Gilles R. Detillieux E-mail: <email@example.com> Spinal Cord Research Centre WWW: http://www.scrc.umanitoba.ca/~grdetil Dept. Physiology, U. of Manitoba Phone: (204)789-3766 Winnipeg, MB R3E 3J7 (Canada) Fax: (204)789-3930
------------------------------------ To unsubscribe from the htdig mailing list, send a message to firstname.lastname@example.org containing the single word unsubscribe in the SUBJECT of the message.
This archive was generated by hypermail 2.0b3 on Tue Aug 17 1999 - 09:18:45 PDT