Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-2218

Add default MIME type for webp

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 2.3.4.Final
    • None
    • None
    • None

      Undertow doesn't have a default MIME type for webp files, which is a pretty common file format.

      https://developers.google.com/speed/webp/docs/riff_container#riff_file_format

      I believe we just need to add this to `MimeMappings`

       defaultMappings.put("webp", "image/webp"); 

       

              rhn-cservice-bbaranow Bartosz Baranowski
              bdw429s Brad Wood
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: