On Tue, 14 Sep 2021 09:46:21 GMT, Julia Boes <jb...@openjdk.org> wrote:

> This change adds some common types to the content-type.properties files, 
> notably .js, .css, and .jar, as well as some others. 
> 
> The duplicated entry for .zip is removed from the Windows properties file.

> _Mailing list message from [Bernd Eckenfels](mailto:e...@zusammenkunft.net) 
> on [net-dev](mailto:net-...@mail.openjdk.java.net):_
> 
> In the Test List .xml is not mentioned, that looks like a major format.
> 
> However I am not sure if it maybe needs extra handling because of possible 
> different mime types for application/xml and text/xml?

.xml is already contained in the properties files as such:


application/xml: \
    description=XML document;\
    file_extensions=.xml

application/xml seems to be the default type as per RFC7303 [1], I think it 
should suffice in this context. 

Only the new types are added to the test. 

[1] https://datatracker.ietf.org/doc/html/rfc7303#section-4.1

-------------

PR: https://git.openjdk.java.net/jdk/pull/5506

Reply via email to