|
Posted by -Lost on 05/12/07 14:03
shimmyshack wrote:
> On May 12, 12:42 pm, -Lost <maventheextrawo...@techie.com> wrote:
>> -Lost wrote:
>>> shimmyshack wrote:
>>>> should return the correct content-type for javascript.
>>>> header( 'Content-Type: text/x-javascript' );
>>> Just wondering, where did you get that MIME from?
>>> I thought it was supposed to be:
>>> application/x-javascript
>>> At least "application/javascript" is not obsolete yet.
>>> Then again, I cannot read an RFC to save my life.
>> Bah, disregard shimmyshack. I didn't even see any posts beyond yours
>> until I posted the above.
>
> dont worry, its my fault for being so slap dash with the keyboard.
> I actually just copy the apache default, it seems to be very
> prevelant, although google get it right as per RFC, so perhaps I could
> start to change my coding habits, or at least my mimes.type file!!
Do you keep a MIME list or do you poll an RFC server?
I prefer to keep my own MIME, as required/normally used MIME types don't
change too much in my applications.
The mime.types files I have from Apache 1.3 and 2.x are identical. How
old of an install are you using if it has an obsolete JavaScript MIME type?
Mine is from 2004/07/15 12:34pm (1089909240).
--
-Lost
Remove the extra words to reply by e-mail. Don't e-mail me. I am
kidding. No I am not.
Navigation:
[Reply to this message]
|