aboutsummaryrefslogtreecommitdiffstats
path: root/doc/tipidee.conf.html
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2024-04-25 12:03:12 +0000
committerLaurent Bercot <ska@appnovation.com>2024-04-25 12:03:12 +0000
commita56299c15302e82c89595d7ed0f4770536362b6a (patch)
treec6327d71a4fa24b0ab8c808e8050b9cee9720bb0 /doc/tipidee.conf.html
parent10b51a9f02e8b37e1cfc8283a0773d6c5e443314 (diff)
downloadtipidee-a56299c15302e82c89595d7ed0f4770536362b6a.tar.gz
Prepare for 0.0.5.0; accept "" as empty extension for content-type
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'doc/tipidee.conf.html')
-rw-r--r--doc/tipidee.conf.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/tipidee.conf.html b/doc/tipidee.conf.html
index 17c1a4f..d33a05e 100644
--- a/doc/tipidee.conf.html
+++ b/doc/tipidee.conf.html
@@ -499,6 +499,8 @@ to clients with the <tt>Content-Type: <em>type</em></tt> header.
<li> Extensions must be listed <em>with</em> their initial dot. </li>
<li> Example: <tt>content-type text/html .html .htm</tt> means that files
ending in <tt>.html</tt> or <tt>.htm</tt> should be served as <tt>text/html</tt>.
+ <li> As a special case, <tt>content-type some/thing ""</tt> means that files without an
+extension should be served as <tt>some/thing</tt>. </li>
<li> tipidee already comes with a
<a href="https://git.skarnet.org/cgi-bin/cgit.cgi/tipidee/tree/src/config/defaults.c#n19">large
list</a> of default Content-Type mappings; this directive should only be necessary if you're