summaryrefslogtreecommitdiffstats
path: root/_build/static/archives/extend/attachments/20130512/65929751/attachment.html
diff options
context:
space:
mode:
Diffstat (limited to '_build/static/archives/extend/attachments/20130512/65929751/attachment.html')
-rw-r--r--_build/static/archives/extend/attachments/20130512/65929751/attachment.html44
1 files changed, 44 insertions, 0 deletions
diff --git a/_build/static/archives/extend/attachments/20130512/65929751/attachment.html b/_build/static/archives/extend/attachments/20130512/65929751/attachment.html
new file mode 100644
index 00000000..645b5681
--- /dev/null
+++ b/_build/static/archives/extend/attachments/20130512/65929751/attachment.html
@@ -0,0 +1,44 @@
+<tt>
+&lt;div&nbsp;dir=&quot;ltr&quot;&gt;Ok,&nbsp;thx,&nbsp;I&nbsp;missed&nbsp;that&nbsp;one&nbsp;:)&lt;/div&gt;&lt;div&nbsp;class=&quot;gmail_extra&quot;&gt;&lt;br&gt;&lt;br&gt;&lt;div&nbsp;class=&quot;gmail_quote&quot;&gt;2013/5/12&nbsp;Loïc&nbsp;Hoguin&nbsp;&lt;span&nbsp;dir=&quot;ltr&quot;&gt;&lt;&lt;a&nbsp;href=&quot;mailto:[email protected]&quot;&nbsp;target=&quot;_blank&quot;&gt;[email protected]&lt;/a&gt;&gt;&lt;/span&gt;&lt;br&gt;<br>
+<br>
+&lt;blockquote&nbsp;class=&quot;gmail_quote&quot;&nbsp;style=&quot;margin:0&nbsp;0&nbsp;0&nbsp;.8ex;border-left:1px&nbsp;#ccc&nbsp;solid;padding-left:1ex&quot;&gt;It&nbsp;sets&nbsp;a&nbsp;set-cookie&nbsp;header&nbsp;directly.&nbsp;You&nbsp;can&nbsp;retrieve&nbsp;all&nbsp;response&nbsp;headers&nbsp;by&nbsp;calling&nbsp;something&nbsp;like&nbsp;cowboy_req:get(resp_headers,&nbsp;Req).&lt;div&gt;<br>
+<br>
+&lt;div&nbsp;class=&quot;h5&quot;&gt;&lt;br&gt;<br>
+&lt;br&gt;<br>
+On&nbsp;05/12/2013&nbsp;01:42&nbsp;PM,&nbsp;Enrique&nbsp;Paz&nbsp;wrote:&lt;br&gt;<br>
+&lt;/div&gt;&lt;/div&gt;&lt;blockquote&nbsp;class=&quot;gmail_quote&quot;&nbsp;style=&quot;margin:0&nbsp;0&nbsp;0&nbsp;.8ex;border-left:1px&nbsp;#ccc&nbsp;solid;padding-left:1ex&quot;&gt;&lt;div&gt;&lt;div&nbsp;class=&quot;h5&quot;&gt;<br>
+Hi,&lt;br&gt;<br>
+&lt;br&gt;<br>
+I&nbsp;have&nbsp;a&nbsp;piece&nbsp;of&nbsp;code&nbsp;that&nbsp;receives&nbsp;a&nbsp;cowboy_req:http_req()&nbsp;object&nbsp;and&lt;br&gt;<br>
+depending&nbsp;on&nbsp;some&nbsp;Context&nbsp;sets&nbsp;1&nbsp;or&nbsp;more&nbsp;cookies&lt;br&gt;<br>
+using&nbsp;cowboy_req:set_resp_cookie/4.&lt;br&gt;<br>
+&lt;br&gt;<br>
+add_cookies(Req,&nbsp;Context)&nbsp;-&gt;&nbsp;ReqWithCookiesSet&lt;br&gt;<br>
+&lt;br&gt;<br>
+I&nbsp;want&nbsp;to&nbsp;write&nbsp;a&nbsp;unit&nbsp;test&nbsp;for&nbsp;it,&nbsp;checking&nbsp;that&nbsp;the&nbsp;right&nbsp;cookies&nbsp;are&lt;br&gt;<br>
+set&nbsp;for&nbsp;the&nbsp;right&nbsp;Context.&nbsp; How&nbsp;can&nbsp;I&nbsp;do&nbsp;that?&nbsp;I&nbsp;miss&nbsp;something&nbsp;like&lt;br&gt;<br>
+cowboy_req:get_resp_cookie/2&nbsp;or&nbsp;so.&lt;br&gt;<br>
+&lt;br&gt;<br>
+Thx&nbsp;in&nbsp;advance&nbsp;for&nbsp;your&nbsp;help.&lt;br&gt;<br>
+&lt;br&gt;<br>
+--&lt;br&gt;<br>
+Enrique&lt;br&gt;<br>
+&lt;br&gt;<br>
+&lt;br&gt;&lt;/div&gt;&lt;/div&gt;<br>
+______________________________&lt;u&gt;&lt;/u&gt;_________________&lt;br&gt;<br>
+Extend&nbsp;mailing&nbsp;list&lt;br&gt;<br>
+&lt;a&nbsp;href=&quot;mailto:[email protected]&quot;&nbsp;target=&quot;_blank&quot;&gt;[email protected]&lt;/a&gt;&lt;br&gt;<br>
+&lt;a&nbsp;href=&quot;http://lists.ninenines.eu:81/listinfo/extend&quot;&nbsp;target=&quot;_blank&quot;&gt;http://lists.ninenines.eu:81/&lt;u&gt;&lt;/u&gt;listinfo/extend&lt;/a&gt;&lt;br&gt;<br>
+&lt;br&gt;&lt;span&nbsp;class=&quot;HOEnZb&quot;&gt;&lt;font&nbsp;color=&quot;#888888&quot;&gt;<br>
+&lt;/font&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;span&nbsp;class=&quot;HOEnZb&quot;&gt;&lt;font&nbsp;color=&quot;#888888&quot;&gt;<br>
+&lt;br&gt;<br>
+&lt;br&gt;<br>
+--&nbsp;&lt;br&gt;<br>
+Loďc&nbsp;Hoguin&lt;br&gt;<br>
+Erlang&nbsp;Cowboy&lt;br&gt;<br>
+Nine&nbsp;Nines&lt;br&gt;<br>
+&lt;a&nbsp;href=&quot;http://ninenines.eu&quot;&nbsp;target=&quot;_blank&quot;&gt;http://ninenines.eu&lt;/a&gt;&lt;br&gt;<br>
+&lt;/font&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;br&nbsp;clear=&quot;all&quot;&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;--&nbsp;&lt;br&gt;quique<br>
+&lt;/div&gt;<br>
+
+</tt>