Subject: Re: [htdig3-dev] Patch for Ht://Dig
From: Alexis Mikhailov (firstname.lastname@example.org)
Date: Tue Dec 21 1999 - 06:31:58 PST
Geoff Hutchison wrote:
> On Fri, 17 Dec 1999, Alexis Mikhailov wrote:
> I only glanced at this, but the last two look fine. As for the HtFile
> class, there are two things I thought of while looking at the code--first,
> some people might want directories to return links to the files (we can do
> this later) and second, we need the MIME-magic code even more now.
I don't think that directories should return links to files, not for
file:// method. file:// should refer only to files existing on local
As for MIME, I thought of adding them, I think there should be local
mime.magic (borrowed from Apache probably). I'll look to implementing
> I'm not so sure I like the setLength() method for strings. It seems to
> defeat the point of abstraction. Granted, there are times when you might
> not want extra allocation because you won't modify the string. Maybe this
> should be a subclass of String? (Buffer?)
May be just change reading of files to line by line? As a additional
benefit it will allow using of FIFOs.
To unsubscribe from the htdig3-dev mailing list, send a message to
You will receive a message to confirm this.
This archive was generated by hypermail 2b28 : Tue Dec 21 1999 - 06:55:25 PST