You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Manoj Kasichainula <ma...@raleigh.ibm.com> on 1998/09/24 01:09:15 UTC

[PATCH] mime.types update

After a couple of requests for mime.types stuff, I went ahead and
built an update. I

- wrote a Perl script to extract the MIME types out of the IANA
  listing
- wrote another Perl script to merge mime.types files
- Merged the Apache, IANA, Red Hat, and Mutt mime.types files.
- Undid some cleaning up that the scripts did so the patch would look
  nicer.
- Added entries for application/x-shockwave-flash and
  application/x-director

The patch for mime.types is attached. Should the two mini-scripts go
in the repository somewhere too?

Marc (I think) raised an objection to a bunch of MIME types listed
without extensions. But, mime.types already has empty entries, so it
should either be kept up to date with the current MIME types, or
the empty entries should be pruned.

Thoughts? Is there a single source to get registered extensions for
MIME types without hunting through hundreds of RFCs, etc.?

-- 
Manoj Kasichainula - manojk@raleigh.ibm.com
IBM Apache Development Team
Research Triangle Park, NC

Re: [PATCH] mime.types update

Posted by Manoj Kasichainula <ma...@io.com>.
On Thu, Sep 24, 1998 at 10:12:18PM -0700, Roy T. Fielding wrote:
> I'd be curious to know what the impact on server startup performance
> would be with the full list.  But not too curious.  How about if we
> distribute a common_mime_types.txt file, complete with comments saying
> where to find the IANA registry, and then trim the mime.types file?

Sounds good to me. I'm not quite sure of the benefit of having a
separate file pointing to the IANA registry. Maybe a comment in
mime.types? I don't care too much either way, as long as things stay
consistent.

For kicks, I tried startup of Apache with a big mime.types and
without. No major difference on a Pentium MMX 166.

-- 
Manoj Kasichainula - manojk at io dot com - http://www.io.com/~manojk/
"This is not a novel to be tossed aside lightly.  It should be thrown with
great force." -- Dorothy Parker