<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Aug 1, 2016 at 4:40 PM, Theepan <span dir="ltr"><<a href="mailto:vasdeveloper@gmail.com" target="_blank">vasdeveloper@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>What is the return value of <span style="color:rgb(255,20,147);font-family:consolas,'bitstream vera sans mono','courier new',courier,monospace;font-size:15px;white-space:pre-wrap;background-color:rgb(248,248,248)">cowboy_req:reply? </span><code style="font-size:1em;white-space:pre-wrap;background-color:rgb(248,248,248);padding:0px;font-family:consolas,'bitstream vera sans mono','courier new',courier,monospace;color:black;border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:0px;border:0px;float:none;min-height:auto;line-height:1.1em;margin:0px;outline:0px;overflow:visible;vertical-align:baseline;width:auto;background-image:none">{ok, </code><code style="font-size:1em;white-space:pre-wrap;background-color:rgb(248,248,248);padding:0px;font-family:consolas,'bitstream vera sans mono','courier new',courier,monospace;color:rgb(0,102,204);border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:0px;border:0px;float:none;min-height:auto;line-height:1.1em;margin:0px;outline:0px;overflow:visible;vertical-align:baseline;width:auto;background-image:none">Req2</code><code style="font-size:1em;white-space:pre-wrap;background-color:rgb(248,248,248);padding:0px;font-family:consolas,'bitstream vera sans mono','courier new',courier,monospace;color:black;border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:0px;border:0px;float:none;min-height:auto;line-height:1.1em;margin:0px;outline:0px;overflow:visible;vertical-align:baseline;width:auto;background-image:none">} or </code><span style="color:rgb(0,102,204);font-family:consolas,'bitstream vera sans mono','courier new',courier,monospace;font-size:13px;white-space:pre-wrap;background-color:rgb(248,248,248)">Req2.</span></div></blockquote></div><br></div><div class="gmail_extra">Both!<br><br></div><div class="gmail_extra">Cowboy version 1.x uses {ok, Req2}<br><br></div><div class="gmail_extra">Cowboy version 2.x (when it is released) uses Req2.<br><br></div><div class="gmail_extra">You may want to make sure you are reading the right version of the documentation.<br><br></div><div class="gmail_extra"><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">J.</div>
</div></div>