Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8273655

content-types.properties files are missing some common types

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 18
    • Component/s: core-libs
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b16

      Description

      The properties files

      src/java.base/unix/classes/sun/net/www/content-types.properties
      src/java.base/windows/classes/sun/net/www/content-types.properties

      are missing some common types. Notable among these are

      text/css - .css
      text/javascript - .js

      application/bz2 - .bz2
      application/csv - .csv
      application/doc - .doc
      application/docx - .docx
      application/jar - .jar
      application/json - .json
      application/php - .php
      application/pptx - .ppt
      application/pptx - .pptx
      application/rar - .rar
      application/rtf - .rtf
      application/xls - .xls
      application/xlsx - .xlsx
      application/7z - .7z

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jboes Julia Boes
              Reporter:
              jboes Julia Boes
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: