Correct the callback matching for the ProvidedCallback function.
parent
8f7481d785
commit
285f4ad402
|
@ -41,7 +41,7 @@ allowed_methods(Req, State) ->
|
||||||
{[<<"GET">>], Req, State}.
|
{[<<"GET">>], Req, State}.
|
||||||
|
|
||||||
content_types_provided(Req, State) ->
|
content_types_provided(Req, State) ->
|
||||||
{[{{'*'}, send_body}], Req, State}.
|
{[{{'_', '*'}, send_body}], Req, State}.
|
||||||
|
|
||||||
known_methods(Req, State) ->
|
known_methods(Req, State) ->
|
||||||
{[<<"GET">>], Req, State}.
|
{[<<"GET">>], Req, State}.
|
||||||
|
|
Loading…
Reference in New Issue