summaryrefslogtreecommitdiff
path: root/docs/manual/mod/mod_mime.html.en
diff options
context:
space:
mode:
authorLuca Toscano <elukey@apache.org>2016-11-17 10:51:50 +0000
committerLuca Toscano <elukey@apache.org>2016-11-17 10:51:50 +0000
commitd0ac237f71cd7b370b5b70855635fe9046998656 (patch)
tree5347d94dce3746a88c6a787cf1d4b2f574401e4e /docs/manual/mod/mod_mime.html.en
parent1238b5a482e8c32131706456c5b864fbfde8d73e (diff)
downloadhttpd-d0ac237f71cd7b370b5b70855635fe9046998656.tar.gz
Merge r1769899 from trunk:
Added a note in the mod_headers docs about Content-Type and setifempty This note has been added as a follow up of a stack overflow post (thanks to Michael Allan for the research): http://stackoverflow.com/questions/29398123/apache-2-4-set-mime-type-of-file-without-extension After a chat in #httpd-dev it seems that the issue boils down to how %{CONTENT_TYPE} is evaluated in util_expr_eval.c (r->content_type) vs how setifempty is (only a check of the response headers). This particular behavior might be a bug or feature, but it is worth to alert our users. Submitted by: elukey git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1770153 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual/mod/mod_mime.html.en')
0 files changed, 0 insertions, 0 deletions