0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-16 05:00:24 +00:00

Rename cowboy_http_rest to cowboy_rest

This commit is contained in:
Loïc Hoguin 2012-08-27 13:39:59 +02:00
parent d3dcaf109b
commit 6d84afd16d
7 changed files with 9 additions and 9 deletions

View file

@ -3,7 +3,7 @@
get_text_plain/2]).
init(_Transport, _Req, _Opts) ->
{upgrade, protocol, cowboy_http_rest}.
{upgrade, protocol, cowboy_rest}.
allowed_methods(Req, State) ->
{['GET', 'HEAD', 'DELETE'], Req, State}.