#4 Expand the MIME types that are recognized by default

closed
nobody
None
5
2007-08-02
2007-07-01
No

ServletContext.getMimeType() implementation is backed by a list, but this list only contains a small number of entries.

It would be highly desirable for this to be expanded further, for example to support major formats like .zip, .jar, etc.

Discussion

  • Rick Knowles
    Rick Knowles
    2007-08-02

    • status: open --> closed
     
  • Rick Knowles
    Rick Knowles
    2007-08-02

    Logged In: YES
    user_id=716353
    Originator: NO

    You can use the servlet 2.4 spec mime-type element to expand the list freely, but I have added some of the simple ones you asked for. If there are any more of these you want, re-open the bug and attach specifics. Thanks.