aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/web/mod_http_bind.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/web/mod_http_bind.erl b/src/web/mod_http_bind.erl
index 5833d7f61..99409450c 100644
--- a/src/web/mod_http_bind.erl
+++ b/src/web/mod_http_bind.erl
@@ -74,6 +74,8 @@ process([], #request{method = 'GET',
process([], #request{method = 'OPTIONS',
data = []}) ->
{200, ?OPTIONS_HEADER, []};
+process([], #request{method = 'HEAD'}) ->
+ {200, ?HEADER, []};
process(_Path, _Request) ->
?DEBUG("Bad Request: ~p", [_Request]),
{400, ?HEADER, {xmlelement, "h1", [],