Permalink
Browse files

ewgi_mochiweb: remove the function that was injecting the POST data i…

…n the remote_user_data field.
  • Loading branch information...
1 parent b2d3d66 commit 4d9df80765e805432aa5f56ac6ca7852a4d9f66e @davide davide committed Nov 4, 2009
Showing with 0 additions and 9 deletions.
  1. +0 −9 src/server_gateways/ewgi_mochiweb.erl
@@ -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);

0 comments on commit 4d9df80

Please sign in to comment.