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:
parent
83e96f155a
commit
1bcc001615
@ -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