[erlang-questions] Cowboy - cowboy_req:reply

Nathaniel Waisbrot <>
Mon Aug 1 16:56:27 CEST 2016


> What is the return value of cowboy_req:reply? {ok, Req2} or Req2.
> 
> The document says the below, but the real return value is Req2.


How are you determining the "real return value"?

https://github.com/ninenines/cowboy/blob/1.0.x/src/cowboy_req.erl#L892

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20160801/073e8a6f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20160801/073e8a6f/attachment.bin>


More information about the erlang-questions mailing list