This is a low-priority patch to fix the use of a deprecated function
call syntax.
In mochiweb_http:headers/5, the Body variable is usually of the form
{Module,Function}, and the call to Body(Req) is actually a call of the
form {Module,Function}(Req). This tuple function call syntax does
actually work (obviously), but it's deprecated.
As a quick fix I've just copied the mochiweb_socket_server:call_loop/2
to mochiweb_http:call_body/2 since the logic is exactly the same.
Original issue reported on code.google.com by r...@jinsky.com on 27 Mar 2010 at 8:44
Original issue reported on code.google.com by
r...@jinsky.com
on 27 Mar 2010 at 8:44Attachments: