summaryrefslogtreecommitdiffstats
path: root/_build/static/archives/extend/2013-April/000104.html
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2016-08-29 12:39:49 +0200
committerLoïc Hoguin <[email protected]>2016-08-29 12:40:03 +0200
commitc807880f7ac73f813b2660ea81a00f7712a4e793 (patch)
treeba1d09e9b177f230665a80513b33fbd532000ce4 /_build/static/archives/extend/2013-April/000104.html
parentb1df25a7d9cda697513650659b781b55b40898f8 (diff)
downloadninenines.eu-c807880f7ac73f813b2660ea81a00f7712a4e793.tar.gz
ninenines.eu-c807880f7ac73f813b2660ea81a00f7712a4e793.tar.bz2
ninenines.eu-c807880f7ac73f813b2660ea81a00f7712a4e793.zip
Add old mailing list archives
Diffstat (limited to '_build/static/archives/extend/2013-April/000104.html')
-rw-r--r--_build/static/archives/extend/2013-April/000104.html127
1 files changed, 127 insertions, 0 deletions
diff --git a/_build/static/archives/extend/2013-April/000104.html b/_build/static/archives/extend/2013-April/000104.html
new file mode 100644
index 00000000..692c6f64
--- /dev/null
+++ b/_build/static/archives/extend/2013-April/000104.html
@@ -0,0 +1,127 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [99s-extend] populating #http_req for unit testing
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20populating%20%23http_req%20for%20unit%20testing&In-Reply-To=%3CCD8CBFE1.A141%25kevin.brown%40turner.com%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <style type="text/css">
+ pre {
+ white-space: pre-wrap; /* css-2.1, curent FF, Opera, Safari */
+ }
+ </style>
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="000103.html">
+ <LINK REL="Next" HREF="000105.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[99s-extend] populating #http_req for unit testing</H1>
+ <B>Brown, Kevin</B>
+ <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20populating%20%23http_req%20for%20unit%20testing&In-Reply-To=%3CCD8CBFE1.A141%25kevin.brown%40turner.com%3E"
+ TITLE="[99s-extend] populating #http_req for unit testing">Kevin.Brown at turner.com
+ </A><BR>
+ <I>Fri Apr 12 01:37:18 CEST 2013</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="000103.html">[99s-extend] Distributed model?
+</A></li>
+ <LI>Next message: <A HREF="000105.html">[99s-extend] populating #http_req for unit testing
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#104">[ date ]</a>
+ <a href="thread.html#104">[ thread ]</a>
+ <a href="subject.html#104">[ subject ]</a>
+ <a href="author.html#104">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>
+Cowfolk,
+
+I am doing something like this to create an #http_req suitable for unit
+testing my resource callbacks:
+
+-define (HTTP_REQ_ENCODERS_PORT_8000, #http_req{host= &lt;&lt;&quot;www.foo.com&quot;&gt;&gt; ,
+port=8000, path= &lt;&lt;&quot;/encoders&quot;&gt;&gt;,transport=ranch_tcp, qs= &lt;&lt;&gt;&gt;, fragment=
+&lt;&lt;&gt;&gt; }).
+
+Notice that I needed to set the transport to a Cowboy specific atom
+because I wanted to get cowboy_req:host_url and cowboy_req:path to work
+properly.
+
+I'm sure there is a method that Cowboy uses internally to populate an
+#http_req from a URL that I could use for testing. What might that be?
+How else should I be populating this record.
+
+Cheers,
+
+-kb
+
+
+
+
+
+
+On 4/11/13 7:07 PM, &quot;<A HREF="https://lists.ninenines.eu/listinfo/extend">extend-request at lists.ninenines.eu</A>&quot;
+&lt;<A HREF="https://lists.ninenines.eu/listinfo/extend">extend-request at lists.ninenines.eu</A>&gt; wrote:
+
+&gt;<i>Welcome to the <A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A> mailing list!
+</I>&gt;<i>
+</I>&gt;<i>To post to this list, send your message to:
+</I>&gt;<i>
+</I>&gt;<i> <A HREF="https://lists.ninenines.eu/listinfo/extend">extend at lists.ninenines.eu</A>
+</I>&gt;<i>
+</I>&gt;<i>General information about the mailing list is at:
+</I>&gt;<i>
+</I>&gt;<i> <A HREF="http://lists.ninenines.eu:81/listinfo/extend">http://lists.ninenines.eu:81/listinfo/extend</A>
+</I>&gt;<i>
+</I>&gt;<i>If you ever want to unsubscribe or change your options (eg, switch to
+</I>&gt;<i>or from digest mode, change your password, etc.), visit your
+</I>&gt;<i>subscription page at:
+</I>&gt;<i>
+</I>&gt;<i> <A HREF="http://lists.ninenines.eu:81/options/extend/kevin.brown%40turner.com">http://lists.ninenines.eu:81/options/extend/kevin.brown%40turner.com</A>
+</I>&gt;<i>
+</I>&gt;<i>You can also make such adjustments via email by sending a message to:
+</I>&gt;<i>
+</I>&gt;<i> <A HREF="https://lists.ninenines.eu/listinfo/extend">Extend-request at lists.ninenines.eu</A>
+</I>&gt;<i>
+</I>&gt;<i>with the word `help' in the subject or body (don't include the
+</I>&gt;<i>quotes), and you will get back a message with instructions.
+</I>&gt;<i>
+</I>&gt;<i>You must know your password to change your options (including changing
+</I>&gt;<i>the password, itself) or to unsubscribe without confirmation. It is:
+</I>&gt;<i>
+</I>&gt;<i> doofus1
+</I>&gt;<i>
+</I>&gt;<i>Normally, Mailman will remind you of your lists.ninenines.eu mailing
+</I>&gt;<i>list passwords once every month, although you can disable this if you
+</I>&gt;<i>prefer. This reminder will also include instructions on how to
+</I>&gt;<i>unsubscribe or change your account options. There is also a button on
+</I>&gt;<i>your options page that will email your current password to you.
+</I>&gt;<i>
+</I>
+
+
+</PRE>
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="000103.html">[99s-extend] Distributed model?
+</A></li>
+ <LI>Next message: <A HREF="000105.html">[99s-extend] populating #http_req for unit testing
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#104">[ date ]</a>
+ <a href="thread.html#104">[ thread ]</a>
+ <a href="subject.html#104">[ subject ]</a>
+ <a href="author.html#104">[ author ]</a>
+ </LI>
+ </UL>
+
+<hr>
+<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend
+mailing list</a><br>
+</body></html>