Re: IE 5.5 / 6.0 If-None-Match errors - Question

"John D. Mitchell" <[email protected]> Sun, 17 Feb 2002 13:00:44 -0800 (PST)
Newsgroups gmane.comp.djb.publicfile
Message-ID <[email protected]>
>>>>> "Jeff" == Jeff Ross <[email protected]> writes:
[...]
> I don't know if it applies or not, but I found that publicfile delivered
> .css files as text files, so IE 5.x for Windows (at least) was not
> loading my style sheets at all.

Newer versions of Mozilla supposedly only treat .css files as style sheets
when sent with the proper mime type.

I've modified my copy of public file with that and a whole slew of other
types to make it more precise.

For .css you can add:

    else if (str_equal(x,".css")) result = "text/css";

into the else if chain in filetype.c.

Go wild,
	John