Dear Wolfgang,
in 2013 i've updated the compiled-in mimetypes with the complete list of
mimetypes from
RFCs, W3C and IANA listings. One has to redo this. Unfortunately, the
IANA has reorganized
some of their materials (the "mime types" became "media types", the
detail information is
in separate files) and included as well materials from RFCs, etc.
Since there are many versions of mime-type mappings out there, i prefer
to stick with IANA to provide a solid reference. I will look into this
over the weekend.
all the best
-g
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
--
*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=278785231&iu=/4140
_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel