Skip to content

Commit

Permalink
ewgi_mochiweb: remove the function that was injecting the POST data i…
Browse files Browse the repository at this point in the history
…n the remote_user_data field.
  • Loading branch information
davide committed Nov 4, 2009
1 parent b2d3d66 commit 4d9df80
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/server_gateways/ewgi_mochiweb.erl
Original file line number Diff line number Diff line change
Expand Up @@ -250,15 +250,6 @@ parse_element(remote_ident, _Req) ->
parse_element(remote_user, _Req) ->
undefined;

parse_element(remote_user_data, Req) ->
case Req:get(method) of
M when (M=='POST') orelse (M=='PUT') ->
Req:recv_body(),
erlang:get(mochiweb_request_body);
_ ->
undefined
end;

parse_element(request_method, Req) ->
Req:get(method);

Expand Down

0 comments on commit 4d9df80

Please sign in to comment.