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