1
0
Fork 0
mirror of https://github.com/edgurgel/httparrot synced 2025-04-05 16:22:32 -04:00

Accept HEAD and OPTIONS on /status

This commit is contained in:
Eduardo Gurgel 2014-01-26 11:45:29 -03:00
parent 1dde648320
commit 0fae6c5a88

View file

@ -8,7 +8,7 @@ defmodule HTTParrot.StatusCodeHandler do
end end
def allowed_methods(req, state) do def allowed_methods(req, state) do
{["GET"], req, state} {["GET", "HEAD", "OPTIONS"], req, state}
end end
def content_types_provided(req, state) do def content_types_provided(req, state) do