aboutsummaryrefslogtreecommitdiff
path: root/src/web/mod_http_fileserver.erl
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2009-06-16 13:45:46 +0000
committerBadlop <badlop@process-one.net>2009-06-16 13:45:46 +0000
commit1bcc00161570c1898609c234200e9e8f9fc99ded (patch)
treeb288cc21da26ade87961362a26bb89bfcbbbe509 /src/web/mod_http_fileserver.erl
parentConverted to gen_server behaviour (EJAB-561). Use the general reopen_log_hook... (diff)
Fix capitalization of HTTP headers (thanks to Brian Cully)(EJAB-892)
SVN Revision: 2179
Diffstat (limited to 'src/web/mod_http_fileserver.erl')
-rw-r--r--src/web/mod_http_fileserver.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/mod_http_fileserver.erl b/src/web/mod_http_fileserver.erl
index 889188843..a8f8068dd 100644
--- a/src/web/mod_http_fileserver.erl
+++ b/src/web/mod_http_fileserver.erl
@@ -244,7 +244,7 @@ serve(LocalPath, DocRoot) ->
{200,
[{"Server", "ejabberd"},
{"Last-Modified", last_modified(FileName)},
- {"Content-type", content_type(FileName)}],
+ {"Content-Type", content_type(FileName)}],
FileContents};
{error, Error} ->
?DEBUG("Delivering error: ~p", [Error]),