Skip to content

Commit

Permalink
Handle PUT request.
Browse files Browse the repository at this point in the history
  • Loading branch information
cmeiklejohn committed Apr 10, 2013
1 parent 6126740 commit 5991f88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/riak_kv_wm_pipeline.erl
Expand Up @@ -25,7 +25,7 @@ init(_Config) ->

%% @doc Support sending and receiving of events.
allowed_methods(ReqData, Context) ->
{['HEAD', 'GET', 'POST'], ReqData, Context}.
{['HEAD', 'GET', 'POST', 'PUT'], ReqData, Context}.

%% @doc Resource exists if the pipeline is registered.
resource_exists(ReqData, Context) ->
Expand Down

0 comments on commit 5991f88

Please sign in to comment.