nitrogen/simple_bridge

Request:request_body() returns undefined for the mochiweb bridge

Closed this issue · 1 comments

Request:request_body() returns undefined instead of a binary representing the request body for the implementation of mochiweb:

http://github.com/rklophaus/SimpleBridge/blob/master/src/mochiweb_bridge_modules/mochiweb_request_bridge.erl#L76

the solution is to return Req:recv_body() instead of undefined

I think this 2bd736e closes the issue