nitrogen / simple_bridge

A simple, standardized interface library to Erlang HTTP Servers.
MIT License
112 stars 76 forks source link

don't convert 'undefined' to list for Body value and find_param result #58

Closed brigadier closed 7 years ago

choptastic commented 7 years ago

Merged it, but I removed the maybe_to_binary from request_body. I haven't looked at the individual backends, but if any of them return undefined, I'd prefer to return an empty binary. But I don't believe any of them return anything but a list or binary.