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:
parent
4956ed11f4
commit
226bcd1360
@ -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]),
|
||||||
|
Loading…
Reference in New Issue
Block a user