From c807880f7ac73f813b2660ea81a00f7712a4e793 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Mon, 29 Aug 2016 12:39:49 +0200 Subject: Add old mailing list archives --- .../attachments/20130512/65929751/attachment.html | 44 ++++++++++++++++++++++ .../attachments/20130512/dd43116e/attachment.html | 9 +++++ 2 files changed, 53 insertions(+) create mode 100644 archives/extend/attachments/20130512/65929751/attachment.html create mode 100644 archives/extend/attachments/20130512/dd43116e/attachment.html (limited to 'archives/extend/attachments/20130512') diff --git a/archives/extend/attachments/20130512/65929751/attachment.html b/archives/extend/attachments/20130512/65929751/attachment.html new file mode 100644 index 00000000..645b5681 --- /dev/null +++ b/archives/extend/attachments/20130512/65929751/attachment.html @@ -0,0 +1,44 @@ + +<div dir="ltr">Ok, thx, I missed that one :)</div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/5/12 Loïc Hoguin <span dir="ltr"><<a href="mailto:essen@ninenines.eu" target="_blank">essen@ninenines.eu</a>></span><br>
+
+<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">It sets a set-cookie header directly. You can retrieve all response headers by calling something like cowboy_req:get(resp_headers, Req).<div>
+
+<div class="h5"><br>
+<br>
+On 05/12/2013 01:42 PM, Enrique Paz wrote:<br>
+</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
+Hi,<br>
+<br>
+I have a piece of code that receives a cowboy_req:http_req() object and<br>
+depending on some Context sets 1 or more cookies<br>
+using cowboy_req:set_resp_cookie/4.<br>
+<br>
+add_cookies(Req, Context) -> ReqWithCookiesSet<br>
+<br>
+I want to write a unit test for it, checking that the right cookies are<br>
+set for the right Context.  How can I do that? I miss something like<br>
+cowboy_req:get_resp_cookie/2 or so.<br>
+<br>
+Thx in advance for your help.<br>
+<br>
+--<br>
+Enrique<br>
+<br>
+<br></div></div>
+______________________________<u></u>_________________<br>
+Extend mailing list<br>
+<a href="mailto:Extend@lists.ninenines.eu" target="_blank">Extend@lists.ninenines.eu</a><br>
+<a href="http://lists.ninenines.eu:81/listinfo/extend" target="_blank">http://lists.ninenines.eu:81/<u></u>listinfo/extend</a><br>
+<br><span class="HOEnZb"><font color="#888888">
+</font></span></blockquote><span class="HOEnZb"><font color="#888888">
+<br>
+<br>
+-- <br>
+Loďc Hoguin<br>
+Erlang Cowboy<br>
+Nine Nines<br>
+<a href="http://ninenines.eu" target="_blank">http://ninenines.eu</a><br>
+</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>quique
+</div>
+ +
diff --git a/archives/extend/attachments/20130512/dd43116e/attachment.html b/archives/extend/attachments/20130512/dd43116e/attachment.html new file mode 100644 index 00000000..8f34c4e0 --- /dev/null +++ b/archives/extend/attachments/20130512/dd43116e/attachment.html @@ -0,0 +1,9 @@ + +<div dir="ltr">Hi,<div><br></div><div>I have a piece of code that receives a cowboy_req:http_req() object and depending on some Context sets 1 or more cookies usingcowboy_req:set_resp_cookie/4.</div><div><br></div><div style>
+
+add_cookies(Req, Context) -> ReqWithCookiesSet</div><div><br></div><div>I want to write a unit test for it, checking that the right cookies are set for the right Context. How can I do that? I miss something like cowboy_req:get_resp_cookie/2 or so.</div>
+
+<div style><br></div><div style>Thx in advance for your help.</div><div><div><br></div>-- <br>Enrique
+</div></div>
+ +
-- cgit v1.2.3