Dear Gustaf!

Thanks for you effort. Lower-casing the mime-types should not pose a problem.

best regards,

Wolfgang Winkler

Am 2016-03-18 um 14:32 schrieb Gustaf Neumann:
Small followup:

since mime-types are case insensitive (rfc 2045), mixed case mime types can cause confusions, Candidates are the newly added "*.macroEnabled.*" mime types (see e.g. [1]).
To avoid run-time overhead, i've lower-cased all built-in mime types.

-g

[1] https://lists.freedesktop.org/archives/xdg/2013-March/012711.html

Am 17.03.16 um 20:27 schrieb Gustaf Neumann:
Dear Wolfgang,

Commit [1] updates the media types according to the IANA specs.
In the commit i have completed the references for the definitions where
possible. Several extensions are uses unfortunately for several media
types, so one has to stick to one definition. Altogether, it was a larger
change than expected:

 1 file changed, 607 insertions(+), 99 deletions(-)

Please double check, if everything is fine now

best regards
-gustaf neumann

[1] https://bitbucket.org/naviserver/naviserver/commits/c438c3ba27821dcce3f10057c25824c4a9595ae8
[2] http://www.iana.org/assignments/media-types/media-types.xhtml

Am 17.03.16 um 08:01 schrieb Wolfgang Winkler:
Hi!

We are using the following additional mime types in our naviserver configuration:

ns_section "ns/mimetypes"
ns_param ".docx" "application/vnd.openxmlformats-officedocument.wordprocessingml.document" ns_param ".dotx" "application/vnd.openxmlformats-officedocument.wordprocessingml.template"
  ns_param  ".docm" "application/vnd.ms-word.document.macroEnabled.12"
  ns_param  ".dotm" "application/vnd.ms-word.template.macroEnabled.12"

ns_param ".xlsx" "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" ns_param ".xltx" "application/vnd.openxmlformats-officedocument.spreadsheetml.template"
  ns_param  ".xlsm" "application/vnd.ms-excel.sheet.macroEnabled.12"
  ns_param  ".xltm" "application/vnd.ms-excel.template.macroEnabled.12"
  ns_param  ".xlam" "application/vnd.ms-excel.addin.macroEnabled.12"
ns_param ".xlsb" "application/vnd.ms-excel.sheet.binary.macroEnabled.12"

ns_param ".pptx" "application/vnd.openxmlformats-officedocument.presentationml.presentation" ns_param ".potx" "application/vnd.openxmlformats-officedocument.presentationml.template" ns_param ".ppsx" "application/vnd.openxmlformats-officedocument.presentationml.slideshow" ns_param ".ppam" "application/vnd.ms-powerpoint.addin.macroEnabled.12" ns_param ".pptm" "application/vnd.ms-powerpoint.presentation.macroEnabled.12" ns_param ".potm" "application/vnd.ms-powerpoint.template.macroEnabled.12" ns_param ".ppsm" "application/vnd.ms-powerpoint.slideshow.macroEnabled.12"

These are used mostly for downloading attachments and it works fine. But I think these file types are common enough to justify an inclusion in nsd/mimetypes.c.

Regards,

Wolfgang Winkler



------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140


_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel


--

*Wolfgang Winkler*
Geschäftsführung
wolfgang.wink...@digital-concepts.com
mobil +43.699.19971172

dc:*büro*
digital concepts Novak Winkler OG
Software & Design
Landstraße 68, 5. Stock, 4020 Linz
www.digital-concepts.com <http://www.digital-concepts.com>
tel +43.732.997117.72
tel +43.699.1997117.2

Firmenbuchnummer: 192003h
Firmenbuchgericht: Landesgericht Linz



etailment Wien – www.wien.etailment.at <http://wien.etailment.at/>

Wir sind persönlich am 23. und 24. Februar mit einem Messestand vertreten, besuchen Sie uns!

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140
_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel

Reply via email to