25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-10-31 15:21:38 +01:00

Fix capitalization of HTTP headers (thanks to Brian Cully)(EJAB-892)

SVN Revision: 2194
This commit is contained in:
Badlop 2009-06-16 13:53:07 +00:00
parent 4956ed11f4
commit 226bcd1360

View File

@ -244,7 +244,7 @@ serve(LocalPath, DocRoot) ->
{200, {200,
[{"Server", "ejabberd"}, [{"Server", "ejabberd"},
{"Last-Modified", last_modified(FileName)}, {"Last-Modified", last_modified(FileName)},
{"Content-type", content_type(FileName)}], {"Content-Type", content_type(FileName)}],
FileContents}; FileContents};
{error, Error} -> {error, Error} ->
?DEBUG("Delivering error: ~p", [Error]), ?DEBUG("Delivering error: ~p", [Error]),