0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-15 12:40:25 +00:00

Fix the process_post/2 function in cowboy_http_rest

This commit is contained in:
Loïc Hoguin 2011-12-08 20:21:50 +01:00
parent 81fe0592b1
commit 168405830d

View file

@ -623,12 +623,11 @@ create_path(Req, State) ->
put_resource(Req3, State2, 303) put_resource(Req3, State2, 303)
end. end.
%% @todo process_post/2 isn't fully implemented yet.
process_post(Req, State) -> process_post(Req, State) ->
case call(Req, State, process_post) of case call(Req, State, process_post) of
{ok, _Req2, HandlerState} -> {ok, Req2, HandlerState} ->
_ = _State2 = State#state{handler_state=HandlerState}, State2 = State#state{handler_state=HandlerState},
todo %% @todo ??? next(Req2, State2, 201)
end. end.
is_conflict(Req, State) -> is_conflict(Req, State) ->