Hello Geoff,
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
disk.
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
MIME stuff.
> 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.
Alexis
------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
[EMAIL PROTECTED]
You will receive a message to confirm this.