Re: [htdig] Search results

Gilles Detillieux (
Tue, 17 Aug 1999 11:34:38 -0500 (CDT)

According to Geoff Hutchison:
> On Tue, 17 Aug 1999, peter karlsson wrote:
> > 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 made a quick check of the HTTP specification just now. To my quick skim,
> and my recollection, this would be a bug, though arguably on both sides.
> Certainly phttpd differs from almost every server I've encountered in this
> respect, whether it is or isn't in the specification.
> On the other hand, you have a point--ht://Dig *should* know the MIME-type.
> It doesn't because it would waste a fair amount of space in the DB...

Perhaps the MIME type could be encoded or compressed somehow, e.g. assign
a 16-bit integer to every known MIME type, although that my complicate the
process of adding new types to be handled with external parsers.

Gilles R. Detillieux              E-mail: <>
Spinal Cord Research Centre       WWW:
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 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:35:51 PDT