Re: [naviserver-devel] Additional mime types in nsd/mimetypes.c

2016-03-19 Thread Gustaf Neumann
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

Re: [naviserver-devel] Additional mime types in nsd/mimetypes.c

2016-03-19 Thread 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]

[naviserver-devel] Form vars + 302 redirect with trailing slash

2016-03-19 Thread David Osborne
HI, Quick question. We've noticed that when fastpath does an internal 302 redirect for URLs without a trailing slash, it seems to drop the query string. Is this intended behaviour? eg. http://site.com/news?a=1 302 redirects to http://site.com/news/ I think it maybe this redirect that's in