25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-24 16:23:40 +01:00

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

SVN Revision: 2179
This commit is contained in:
Badlop 2009-06-16 13:45:46 +00:00
parent 83e96f155a
commit 1bcc001615

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]),