]> granicus.if.org Git - ejabberd/commitdiff
Fix capitalization of HTTP headers (thanks to Brian Cully)(EJAB-892)
authorBadlop <badlop@process-one.net>
Tue, 16 Jun 2009 13:45:46 +0000 (13:45 +0000)
committerBadlop <badlop@process-one.net>
Tue, 16 Jun 2009 13:45:46 +0000 (13:45 +0000)
SVN Revision: 2179

src/web/mod_http_fileserver.erl

index 88918884372e8ab1db2a95cf7f8c1a85bbb8d831..a8f8068dd0c5542bf35dac19bec9700a16a26103 100644 (file)
@@ -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]),