summaryrefslogtreecommitdiffstats
path: root/_build/static/archives/extend/2014-September
diff options
context:
space:
mode:
Diffstat (limited to '_build/static/archives/extend/2014-September')
-rw-r--r--_build/static/archives/extend/2014-September/000458.html85
-rw-r--r--_build/static/archives/extend/2014-September/000459.html81
-rw-r--r--_build/static/archives/extend/2014-September/000460.html75
-rw-r--r--_build/static/archives/extend/2014-September/000461.html74
-rw-r--r--_build/static/archives/extend/2014-September/000462.html101
-rw-r--r--_build/static/archives/extend/2014-September/000463.html82
-rw-r--r--_build/static/archives/extend/2014-September/000464.html89
-rw-r--r--_build/static/archives/extend/2014-September/000465.html137
-rw-r--r--_build/static/archives/extend/2014-September/000466.html161
-rw-r--r--_build/static/archives/extend/2014-September/000467.html170
-rw-r--r--_build/static/archives/extend/2014-September/author.html97
-rw-r--r--_build/static/archives/extend/2014-September/date.html97
l---------_build/static/archives/extend/2014-September/index.html1
-rw-r--r--_build/static/archives/extend/2014-September/subject.html97
-rw-r--r--_build/static/archives/extend/2014-September/thread.html119
15 files changed, 1466 insertions, 0 deletions
diff --git a/_build/static/archives/extend/2014-September/000458.html b/_build/static/archives/extend/2014-September/000458.html
new file mode 100644
index 00000000..8b93f654
--- /dev/null
+++ b/_build/static/archives/extend/2014-September/000458.html
@@ -0,0 +1,85 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [99s-extend] Using cowboy_req:body more than once per request
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Using%20cowboy_req%3Abody%20more%20than%20once%20per%20request&In-Reply-To=%3CCA%2BdV7cT%2BPOGJM%3DnqBcvnP_NoZUa%3D_ZHjGx-9gBQ%2B09Pe7aE2bg%40mail.gmail.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="Next" HREF="000462.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[99s-extend] Using cowboy_req:body more than once per request</H1>
+ <B>Paulo F. Oliveira</B>
+ <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Using%20cowboy_req%3Abody%20more%20than%20once%20per%20request&In-Reply-To=%3CCA%2BdV7cT%2BPOGJM%3DnqBcvnP_NoZUa%3D_ZHjGx-9gBQ%2B09Pe7aE2bg%40mail.gmail.com%3E"
+ TITLE="[99s-extend] Using cowboy_req:body more than once per request">paulo.ferraz.oliveira at gmail.com
+ </A><BR>
+ <I>Mon Sep 15 23:24:20 CEST 2014</I>
+ <P><UL>
+
+ <LI>Next message: <A HREF="000462.html">[99s-extend] Using cowboy_req:body more than once per request
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#458">[ date ]</a>
+ <a href="thread.html#458">[ thread ]</a>
+ <a href="subject.html#458">[ subject ]</a>
+ <a href="author.html#458">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>Hi.
+
+I recently implemented a checksum header (X-Checksum) that allows
+validating the content of a request's body by hash comparison (just to give
+you some context). I'm using the onrequest hook to affect all requests (and
+be able to reply appropriately for non-conformance to the hash function
+result) but can't figure out how to not read the request body twice, i.e. I
+read it in the onrequest hook but later on need to read it again in the
+route handler, but I can't (from the manual, for cowboy_req:body: &quot;This
+function can only be called once. Cowboy will not cache the result of this
+call.&quot;). At the moment, and because the API consumers were in a hurry, the
+solution I found (I understand it might be an ugly hack), was to read the
+body, store it in the Req's meta (property body, for example) and then
+access that property later on, instead of using cowboy_req:body. I'm not
+quite happy with this solution and was wondering if there is anything more
+elegant that I can implement.
+
+Thanks.
+
+Cheers.
+
+- Paulo F. Oliveira
+-------------- next part --------------
+An HTML attachment was scrubbed...
+URL: &lt;<A HREF="http://lists.ninenines.eu/archives/extend/attachments/20140915/26d4e023/attachment-0001.html">http://lists.ninenines.eu/archives/extend/attachments/20140915/26d4e023/attachment-0001.html</A>&gt;
+</PRE>
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+
+ <LI>Next message: <A HREF="000462.html">[99s-extend] Using cowboy_req:body more than once per request
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#458">[ date ]</a>
+ <a href="thread.html#458">[ thread ]</a>
+ <a href="subject.html#458">[ subject ]</a>
+ <a href="author.html#458">[ author ]</a>
+ </LI>
+ </UL>
+
+<hr>
+<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend
+mailing list</a><br>
+</body></html>
diff --git a/_build/static/archives/extend/2014-September/000459.html b/_build/static/archives/extend/2014-September/000459.html
new file mode 100644
index 00000000..c360f518
--- /dev/null
+++ b/_build/static/archives/extend/2014-September/000459.html
@@ -0,0 +1,81 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [99s-extend] :binding doc
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20%3Abinding%20doc&In-Reply-To=%3CCA%2BdV7cTDYsbcVjwO3wxNpzpo0V3gcO%2BXoY44Yjbc6K1OB8zuVw%40mail.gmail.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="000464.html">
+ <LINK REL="Next" HREF="000460.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[99s-extend] :binding doc</H1>
+ <B>Paulo F. Oliveira</B>
+ <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20%3Abinding%20doc&In-Reply-To=%3CCA%2BdV7cTDYsbcVjwO3wxNpzpo0V3gcO%2BXoY44Yjbc6K1OB8zuVw%40mail.gmail.com%3E"
+ TITLE="[99s-extend] :binding doc">paulo.ferraz.oliveira at gmail.com
+ </A><BR>
+ <I>Mon Sep 15 23:34:48 CEST 2014</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="000464.html">[99s-extend] Using cowboy_req:body more than once per request
+</A></li>
+ <LI>Next message: <A HREF="000460.html">[99s-extend] :binding doc
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#459">[ date ]</a>
+ <a href="thread.html#459">[ thread ]</a>
+ <a href="subject.html#459">[ subject ]</a>
+ <a href="author.html#459">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>Hi.
+
+This can be read in the cowboy_req:binding doc: &quot;By default the value is a
+binary, however constraints may change the type of this value (for example
+automatically converting numbers to integer).&quot;
+
+What constraints are we talking about here?
+
+Also, there's no reference to the fact that the bindings are URL-decoded,
+even though they appear to be.
+
+Cheers.
+
+- Paulo F. Oliveira
+-------------- next part --------------
+An HTML attachment was scrubbed...
+URL: &lt;<A HREF="http://lists.ninenines.eu/archives/extend/attachments/20140915/5f3302e4/attachment.html">http://lists.ninenines.eu/archives/extend/attachments/20140915/5f3302e4/attachment.html</A>&gt;
+</PRE>
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="000464.html">[99s-extend] Using cowboy_req:body more than once per request
+</A></li>
+ <LI>Next message: <A HREF="000460.html">[99s-extend] :binding doc
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#459">[ date ]</a>
+ <a href="thread.html#459">[ thread ]</a>
+ <a href="subject.html#459">[ subject ]</a>
+ <a href="author.html#459">[ author ]</a>
+ </LI>
+ </UL>
+
+<hr>
+<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend
+mailing list</a><br>
+</body></html>
diff --git a/_build/static/archives/extend/2014-September/000460.html b/_build/static/archives/extend/2014-September/000460.html
new file mode 100644
index 00000000..a544862a
--- /dev/null
+++ b/_build/static/archives/extend/2014-September/000460.html
@@ -0,0 +1,75 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [99s-extend] :binding doc
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20%3Abinding%20doc&In-Reply-To=%3CCA%2BdV7cQkY9k0RSaR%2B_ja1MQae%3Df-Yb2Wp7aFGok3ORA%3DjSE%2BaA%40mail.gmail.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="000459.html">
+ <LINK REL="Next" HREF="000461.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[99s-extend] :binding doc</H1>
+ <B>Paulo F. Oliveira</B>
+ <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20%3Abinding%20doc&In-Reply-To=%3CCA%2BdV7cQkY9k0RSaR%2B_ja1MQae%3Df-Yb2Wp7aFGok3ORA%3DjSE%2BaA%40mail.gmail.com%3E"
+ TITLE="[99s-extend] :binding doc">paulo.ferraz.oliveira at gmail.com
+ </A><BR>
+ <I>Mon Sep 15 23:55:39 CEST 2014</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="000459.html">[99s-extend] :binding doc
+</A></li>
+ <LI>Next message: <A HREF="000461.html">[99s-extend] :binding doc
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#460">[ date ]</a>
+ <a href="thread.html#460">[ thread ]</a>
+ <a href="subject.html#460">[ subject ]</a>
+ <a href="author.html#460">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>OK, I guess &quot;constraints&quot; refers to this:
+<A HREF="http://ninenines.eu/docs/en/cowboy/HEAD/guide/routing/#constraints">http://ninenines.eu/docs/en/cowboy/HEAD/guide/routing/#constraints</A>
+
+:<i>D
+</I>
+Cheers.
+
+- Paulo F. Oliveira
+-------------- next part --------------
+An HTML attachment was scrubbed...
+URL: &lt;<A HREF="http://lists.ninenines.eu/archives/extend/attachments/20140915/d97a6072/attachment.html">http://lists.ninenines.eu/archives/extend/attachments/20140915/d97a6072/attachment.html</A>&gt;
+</PRE>
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="000459.html">[99s-extend] :binding doc
+</A></li>
+ <LI>Next message: <A HREF="000461.html">[99s-extend] :binding doc
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#460">[ date ]</a>
+ <a href="thread.html#460">[ thread ]</a>
+ <a href="subject.html#460">[ subject ]</a>
+ <a href="author.html#460">[ author ]</a>
+ </LI>
+ </UL>
+
+<hr>
+<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend
+mailing list</a><br>
+</body></html>
diff --git a/_build/static/archives/extend/2014-September/000461.html b/_build/static/archives/extend/2014-September/000461.html
new file mode 100644
index 00000000..68f764da
--- /dev/null
+++ b/_build/static/archives/extend/2014-September/000461.html
@@ -0,0 +1,74 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [99s-extend] :binding doc
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20%3Abinding%20doc&In-Reply-To=%3C54176510.9040100%40ninenines.eu%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="000460.html">
+ <LINK REL="Next" HREF="000465.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[99s-extend] :binding doc</H1>
+ <B>Lo&#239;c Hoguin</B>
+ <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20%3Abinding%20doc&In-Reply-To=%3C54176510.9040100%40ninenines.eu%3E"
+ TITLE="[99s-extend] :binding doc">essen at ninenines.eu
+ </A><BR>
+ <I>Tue Sep 16 00:15:44 CEST 2014</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="000460.html">[99s-extend] :binding doc
+</A></li>
+ <LI>Next message: <A HREF="000465.html">[99s-extend] Newbie, Cowboy + Websocket + Audio Recording
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#461">[ date ]</a>
+ <a href="thread.html#461">[ thread ]</a>
+ <a href="subject.html#461">[ subject ]</a>
+ <a href="author.html#461">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>On 09/15/2014 11:34 PM, Paulo F. Oliveira wrote:
+&gt;<i> Also, there's no reference to the fact that the bindings are
+</I>&gt;<i> URL-decoded, even though they appear to be.
+</I>
+Cowboy decodes everything. If you feel it's helpful to mention, please
+send a patch.
+
+--
+Lo&#239;c Hoguin
+<A HREF="http://ninenines.eu">http://ninenines.eu</A>
+</PRE>
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="000460.html">[99s-extend] :binding doc
+</A></li>
+ <LI>Next message: <A HREF="000465.html">[99s-extend] Newbie, Cowboy + Websocket + Audio Recording
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#461">[ date ]</a>
+ <a href="thread.html#461">[ thread ]</a>
+ <a href="subject.html#461">[ subject ]</a>
+ <a href="author.html#461">[ author ]</a>
+ </LI>
+ </UL>
+
+<hr>
+<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend
+mailing list</a><br>
+</body></html>
diff --git a/_build/static/archives/extend/2014-September/000462.html b/_build/static/archives/extend/2014-September/000462.html
new file mode 100644
index 00000000..f8727d7c
--- /dev/null
+++ b/_build/static/archives/extend/2014-September/000462.html
@@ -0,0 +1,101 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [99s-extend] Using cowboy_req:body more than once per request
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Using%20cowboy_req%3Abody%20more%20than%20once%20per%20request&In-Reply-To=%3C541766A3.4070309%40ninenines.eu%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="000458.html">
+ <LINK REL="Next" HREF="000463.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[99s-extend] Using cowboy_req:body more than once per request</H1>
+ <B>Lo&#239;c Hoguin</B>
+ <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Using%20cowboy_req%3Abody%20more%20than%20once%20per%20request&In-Reply-To=%3C541766A3.4070309%40ninenines.eu%3E"
+ TITLE="[99s-extend] Using cowboy_req:body more than once per request">essen at ninenines.eu
+ </A><BR>
+ <I>Tue Sep 16 00:22:27 CEST 2014</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="000458.html">[99s-extend] Using cowboy_req:body more than once per request
+</A></li>
+ <LI>Next message: <A HREF="000463.html">[99s-extend] Using cowboy_req:body more than once per request
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#462">[ date ]</a>
+ <a href="thread.html#462">[ thread ]</a>
+ <a href="subject.html#462">[ subject ]</a>
+ <a href="author.html#462">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>It seems a bit weird to me to read the body and validate it before
+validating the request itself.
+
+I would explicitly put these checks in the handler directly. This of
+course means that there is no need to read it twice anymore.
+
+On 09/15/2014 11:24 PM, Paulo F. Oliveira wrote:
+&gt;<i> Hi.
+</I>&gt;<i>
+</I>&gt;<i> I recently implemented a checksum header (X-Checksum) that allows
+</I>&gt;<i> validating the content of a request's body by hash comparison (just to
+</I>&gt;<i> give you some context). I'm using the onrequest hook to affect all
+</I>&gt;<i> requests (and be able to reply appropriately for non-conformance to the
+</I>&gt;<i> hash function result) but can't figure out how to not read the request
+</I>&gt;<i> body twice, i.e. I read it in the onrequest hook but later on need to
+</I>&gt;<i> read it again in the route handler, but I can't (from the manual, for
+</I>&gt;<i> cowboy_req:body: &quot;This function can only be called once. Cowboy will not
+</I>&gt;<i> cache the result of this call.&quot;). At the moment, and because the API
+</I>&gt;<i> consumers were in a hurry, the solution I found (I understand it might
+</I>&gt;<i> be an ugly hack), was to read the body, store it in the Req's meta
+</I>&gt;<i> (property body, for example) and then access that property later on,
+</I>&gt;<i> instead of using cowboy_req:body. I'm not quite happy with this solution
+</I>&gt;<i> and was wondering if there is anything more elegant that I can implement.
+</I>&gt;<i>
+</I>&gt;<i> Thanks.
+</I>&gt;<i>
+</I>&gt;<i> Cheers.
+</I>&gt;<i>
+</I>&gt;<i> - Paulo F. Oliveira
+</I>&gt;<i>
+</I>&gt;<i>
+</I>&gt;<i> _______________________________________________
+</I>&gt;<i> Extend mailing list
+</I>&gt;<i> <A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A>
+</I>&gt;<i> <A HREF="https://lists.ninenines.eu/listinfo/extend">https://lists.ninenines.eu/listinfo/extend</A>
+</I>&gt;<i>
+</I>
+--
+Lo&#239;c Hoguin
+<A HREF="http://ninenines.eu">http://ninenines.eu</A>
+</PRE>
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="000458.html">[99s-extend] Using cowboy_req:body more than once per request
+</A></li>
+ <LI>Next message: <A HREF="000463.html">[99s-extend] Using cowboy_req:body more than once per request
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#462">[ date ]</a>
+ <a href="thread.html#462">[ thread ]</a>
+ <a href="subject.html#462">[ subject ]</a>
+ <a href="author.html#462">[ author ]</a>
+ </LI>
+ </UL>
+
+<hr>
+<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend
+mailing list</a><br>
+</body></html>
diff --git a/_build/static/archives/extend/2014-September/000463.html b/_build/static/archives/extend/2014-September/000463.html
new file mode 100644
index 00000000..1e618983
--- /dev/null
+++ b/_build/static/archives/extend/2014-September/000463.html
@@ -0,0 +1,82 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [99s-extend] Using cowboy_req:body more than once per request
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Using%20cowboy_req%3Abody%20more%20than%20once%20per%20request&In-Reply-To=%3CCA%2BdV7cSQc%3D3wsQrYkg2p6R9M7n_HmZpF6kOt%3D4CbaphUUx4oGQ%40mail.gmail.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="000462.html">
+ <LINK REL="Next" HREF="000464.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[99s-extend] Using cowboy_req:body more than once per request</H1>
+ <B>Paulo F. Oliveira</B>
+ <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Using%20cowboy_req%3Abody%20more%20than%20once%20per%20request&In-Reply-To=%3CCA%2BdV7cSQc%3D3wsQrYkg2p6R9M7n_HmZpF6kOt%3D4CbaphUUx4oGQ%40mail.gmail.com%3E"
+ TITLE="[99s-extend] Using cowboy_req:body more than once per request">paulo.ferraz.oliveira at gmail.com
+ </A><BR>
+ <I>Tue Sep 16 00:35:20 CEST 2014</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="000462.html">[99s-extend] Using cowboy_req:body more than once per request
+</A></li>
+ <LI>Next message: <A HREF="000464.html">[99s-extend] Using cowboy_req:body more than once per request
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#463">[ date ]</a>
+ <a href="thread.html#463">[ thread ]</a>
+ <a href="subject.html#463">[ subject ]</a>
+ <a href="author.html#463">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>Hi.
+
+&gt;<i> It seems a bit weird to me to read the body and validate it before validating the request itself.
+</I>
+It certainly seems like it, but I had no immediate solution and
+instead of changing a dozen handlers, this seemed faster to implement
+:<i>D. I don't understand what you mean by &quot;validating the request
+</I>itself&quot;. I read the header (I mentioned previously) and the body and
+check one against the other. They are present and enough for the
+_validator_ to make a decision, but I might be missing something here.
+
+&gt;<i> I would explicitly put these checks in the handler directly. This of course means that there is no need to read it twice anymore.
+</I>
+I've been trying to find a way to easily share code between handlers
+without having to rewrite a lot of code (even if I do decide to put
+things in a library function - or several). I recently came across
+<A HREF="https://github.com/opscode/mixer.">https://github.com/opscode/mixer.</A> Have you ever used it?
+
+Thanks.
+
+- Paulo F. Oliveira
+</PRE>
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="000462.html">[99s-extend] Using cowboy_req:body more than once per request
+</A></li>
+ <LI>Next message: <A HREF="000464.html">[99s-extend] Using cowboy_req:body more than once per request
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#463">[ date ]</a>
+ <a href="thread.html#463">[ thread ]</a>
+ <a href="subject.html#463">[ subject ]</a>
+ <a href="author.html#463">[ author ]</a>
+ </LI>
+ </UL>
+
+<hr>
+<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend
+mailing list</a><br>
+</body></html>
diff --git a/_build/static/archives/extend/2014-September/000464.html b/_build/static/archives/extend/2014-September/000464.html
new file mode 100644
index 00000000..2df89a6e
--- /dev/null
+++ b/_build/static/archives/extend/2014-September/000464.html
@@ -0,0 +1,89 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [99s-extend] Using cowboy_req:body more than once per request
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Using%20cowboy_req%3Abody%20more%20than%20once%20per%20request&In-Reply-To=%3C54176B4C.1060101%40ninenines.eu%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="000463.html">
+ <LINK REL="Next" HREF="000459.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[99s-extend] Using cowboy_req:body more than once per request</H1>
+ <B>Lo&#239;c Hoguin</B>
+ <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Using%20cowboy_req%3Abody%20more%20than%20once%20per%20request&In-Reply-To=%3C54176B4C.1060101%40ninenines.eu%3E"
+ TITLE="[99s-extend] Using cowboy_req:body more than once per request">essen at ninenines.eu
+ </A><BR>
+ <I>Tue Sep 16 00:42:20 CEST 2014</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="000463.html">[99s-extend] Using cowboy_req:body more than once per request
+</A></li>
+ <LI>Next message: <A HREF="000459.html">[99s-extend] :binding doc
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#464">[ date ]</a>
+ <a href="thread.html#464">[ thread ]</a>
+ <a href="subject.html#464">[ subject ]</a>
+ <a href="author.html#464">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>On 09/16/2014 12:35 AM, Paulo F. Oliveira wrote:
+&gt;<i> Hi.
+</I>&gt;<i>
+</I>&gt;&gt;<i> It seems a bit weird to me to read the body and validate it before validating the request itself.
+</I>&gt;<i>
+</I>&gt;<i> It certainly seems like it, but I had no immediate solution and
+</I>&gt;<i> instead of changing a dozen handlers, this seemed faster to implement
+</I>&gt;<i> :D. I don't understand what you mean by &quot;validating the request
+</I>&gt;<i> itself&quot;. I read the header (I mentioned previously) and the body and
+</I>&gt;<i> check one against the other. They are present and enough for the
+</I>&gt;<i> _validator_ to make a decision, but I might be missing something here.
+</I>
+Like, is it the right method? Are the bindings/qs parameters/headers
+present and valid? And so on. The body should be the last thing you
+check, due to how expensive it can be, not the first.
+
+&gt;&gt;<i> I would explicitly put these checks in the handler directly. This of course means that there is no need to read it twice anymore.
+</I>&gt;<i>
+</I>&gt;<i> I've been trying to find a way to easily share code between handlers
+</I>&gt;<i> without having to rewrite a lot of code (even if I do decide to put
+</I>&gt;<i> things in a library function - or several). I recently came across
+</I>&gt;<i> <A HREF="https://github.com/opscode/mixer.">https://github.com/opscode/mixer.</A> Have you ever used it?
+</I>
+I usually share code by writing functions. Then I call these functions
+where needed.
+
+--
+Lo&#239;c Hoguin
+<A HREF="http://ninenines.eu">http://ninenines.eu</A>
+</PRE>
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="000463.html">[99s-extend] Using cowboy_req:body more than once per request
+</A></li>
+ <LI>Next message: <A HREF="000459.html">[99s-extend] :binding doc
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#464">[ date ]</a>
+ <a href="thread.html#464">[ thread ]</a>
+ <a href="subject.html#464">[ subject ]</a>
+ <a href="author.html#464">[ author ]</a>
+ </LI>
+ </UL>
+
+<hr>
+<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend
+mailing list</a><br>
+</body></html>
diff --git a/_build/static/archives/extend/2014-September/000465.html b/_build/static/archives/extend/2014-September/000465.html
new file mode 100644
index 00000000..66ac7abc
--- /dev/null
+++ b/_build/static/archives/extend/2014-September/000465.html
@@ -0,0 +1,137 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [99s-extend] Newbie, Cowboy + Websocket + Audio Recording
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Newbie%2C%20Cowboy%20%2B%20Websocket%20%2B%20Audio%20Recording&In-Reply-To=%3CCA%2Bycm%3D6T4gu%3D48%3DVfP3aiVdJFAg--s%2BxGaT2RtGm1KU8qyLiTw%40mail.gmail.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="000461.html">
+ <LINK REL="Next" HREF="000466.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[99s-extend] Newbie, Cowboy + Websocket + Audio Recording</H1>
+ <B>Juan Mat&#237;as</B>
+ <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Newbie%2C%20Cowboy%20%2B%20Websocket%20%2B%20Audio%20Recording&In-Reply-To=%3CCA%2Bycm%3D6T4gu%3D48%3DVfP3aiVdJFAg--s%2BxGaT2RtGm1KU8qyLiTw%40mail.gmail.com%3E"
+ TITLE="[99s-extend] Newbie, Cowboy + Websocket + Audio Recording">jmrepetti at gmail.com
+ </A><BR>
+ <I>Mon Sep 29 18:52:16 CEST 2014</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="000461.html">[99s-extend] :binding doc
+</A></li>
+ <LI>Next message: <A HREF="000466.html">[99s-extend] Newbie, Cowboy + Websocket + Audio Recording
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#465">[ date ]</a>
+ <a href="thread.html#465">[ thread ]</a>
+ <a href="subject.html#465">[ subject ]</a>
+ <a href="author.html#465">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>Hello list, I hope this is the right place to ask this.
+
+I'm learning Erlang, and I wanted to create a Cowboy app to record audio
+from a web browser.
+
+Based on the websocket example in the Cowboy source code, I get the user
+mic input and send this input to the websocket.
+
+I created a &quot;recorder&quot; module, which functionality is to save the data to
+the a file.
+
+
+*#rawe_handler.erl*-module(rawec_handler).
+-behaviour(cowboy_websocket_handler).
+......
+init(_, _, _) -&gt;
+ case whereis(recorder) of
+ undefined -&gt;
+ RecorderPid = recorder:start(),
+ register(recorder, RecorderPid);
+ _ -&gt; ok
+ end,
+ {upgrade, protocol, cowboy_websocket}.
+.....
+websocket_handle(_Frame, Req, State) -&gt;
+ RecorderPid = whereis(recorder),
+ RecorderPid ! {rec, _Frame/binary},
+ {ok, Req, State}.
+
+*#recorder.erl*
+-module(recorder).
+
+-export([start/0, recorder_fun/1]).
+-compile([debug_info]).
+
+recorder_fun(IoDevice) -&gt;
+ receive
+ {rec, Data} -&gt;
+ ok = file:write(IoDevice, Data),
+ io:format(Data),
+ recorder_fun(IoDevice);
+ {stop, _} -&gt;
+ %%Close file
+ file:close(IoDevice)
+ end.
+
+start() -&gt;
+ {ok, IoDevice} = file:open(&quot;/tmp/test_binary.wav&quot;, [write,
+binary]),
+ spawn(recorder, recorder_fun, [IoDevice]).
+
+
+When I start the console, and allow the microphone on the browser, I see
+this error on the console:
+
+=ERROR REPORT==== 29-Sep-2014::18:13:03 ===
+Ranch listener http had connection process started with
+cowboy_protocol:start_link/4 at &lt;0.178.0&gt; exit with reason:
+*{[{reason,badarith},{mfa,{rawec_handler,websocket_handle,3*}},{stacktrace,[{rawec_handler,websocket_handle,3,[{file,&quot;src/rawec_handler.erl&quot;},{line,35}]},{cowboy_websocket,handler_call,7,[{file,&quot;src/cowboy_websocket.erl&quot;},{line,588}]},{cowboy_protocol,execute,4,[{file,&quot;src/cowboy_protocol.erl&quot;},{line,435}]}]},{msg,{binary,&lt;&lt;0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0....(ETC,
+DATA STREAM CONTINUES)
+
+Probably my approach to do this is totally wrong. I there any obvious
+problem here?
+Can someone point me to a right direction?. Maybe I should write directly
+to a file in the *websocket_handle *funcion, but how can I keep a file
+opened during the streaming?
+
+The github repo is here: <A HREF="https://github.com/jmrepetti/rawec">https://github.com/jmrepetti/rawec</A> with the whole
+source code if you want to take a look.
+
+
+Thanks in advance,
+Matias.
+-------------- next part --------------
+An HTML attachment was scrubbed...
+URL: &lt;<A HREF="http://lists.ninenines.eu/archives/extend/attachments/20140929/84fe21a4/attachment.html">http://lists.ninenines.eu/archives/extend/attachments/20140929/84fe21a4/attachment.html</A>&gt;
+</PRE>
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="000461.html">[99s-extend] :binding doc
+</A></li>
+ <LI>Next message: <A HREF="000466.html">[99s-extend] Newbie, Cowboy + Websocket + Audio Recording
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#465">[ date ]</a>
+ <a href="thread.html#465">[ thread ]</a>
+ <a href="subject.html#465">[ subject ]</a>
+ <a href="author.html#465">[ author ]</a>
+ </LI>
+ </UL>
+
+<hr>
+<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend
+mailing list</a><br>
+</body></html>
diff --git a/_build/static/archives/extend/2014-September/000466.html b/_build/static/archives/extend/2014-September/000466.html
new file mode 100644
index 00000000..94dd1886
--- /dev/null
+++ b/_build/static/archives/extend/2014-September/000466.html
@@ -0,0 +1,161 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [99s-extend] Newbie, Cowboy + Websocket + Audio Recording
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Newbie%2C%20Cowboy%20%2B%20Websocket%20%2B%20Audio%20Recording&In-Reply-To=%3CCAKAMJXghRnTZ1CTPkTBapOgh7BnFLUnvL%2B%2BVVedyXuAzWT6HSQ%40mail.gmail.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="000465.html">
+ <LINK REL="Next" HREF="000467.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[99s-extend] Newbie, Cowboy + Websocket + Audio Recording</H1>
+ <B>Eduardo Gurgel</B>
+ <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Newbie%2C%20Cowboy%20%2B%20Websocket%20%2B%20Audio%20Recording&In-Reply-To=%3CCAKAMJXghRnTZ1CTPkTBapOgh7BnFLUnvL%2B%2BVVedyXuAzWT6HSQ%40mail.gmail.com%3E"
+ TITLE="[99s-extend] Newbie, Cowboy + Websocket + Audio Recording">edgurgel at gmail.com
+ </A><BR>
+ <I>Tue Sep 30 00:53:26 CEST 2014</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="000465.html">[99s-extend] Newbie, Cowboy + Websocket + Audio Recording
+</A></li>
+ <LI>Next message: <A HREF="000467.html">[99s-extend] Newbie, Cowboy + Websocket + Audio Recording
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#466">[ date ]</a>
+ <a href="thread.html#466">[ thread ]</a>
+ <a href="subject.html#466">[ subject ]</a>
+ <a href="author.html#466">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>Looking on the output it says:
+
+*{reason,badarith} *on this line:
+
+RecorderPid ! {rec, _Frame/binary},
+
+This may help you somehow.
+
+BTW, variables starting with _ are usually used to show unused variables
+and stop warnings from the compiler.
+
+On 30 September 2014 05:52, Juan Mat&#237;as &lt;<A HREF="https://lists.ninenines.eu/listinfo/extend">jmrepetti at gmail.com</A>&gt; wrote:
+
+&gt;<i> Hello list, I hope this is the right place to ask this.
+</I>&gt;<i>
+</I>&gt;<i> I'm learning Erlang, and I wanted to create a Cowboy app to record audio
+</I>&gt;<i> from a web browser.
+</I>&gt;<i>
+</I>&gt;<i> Based on the websocket example in the Cowboy source code, I get the user
+</I>&gt;<i> mic input and send this input to the websocket.
+</I>&gt;<i>
+</I>&gt;<i> I created a &quot;recorder&quot; module, which functionality is to save the data to
+</I>&gt;<i> the a file.
+</I>&gt;<i>
+</I>&gt;<i>
+</I>&gt;<i> *#rawe_handler.erl*-module(rawec_handler).
+</I>&gt;<i> -behaviour(cowboy_websocket_handler).
+</I>&gt;<i> ......
+</I>&gt;<i> init(_, _, _) -&gt;
+</I>&gt;<i> case whereis(recorder) of
+</I>&gt;<i> undefined -&gt;
+</I>&gt;<i> RecorderPid = recorder:start(),
+</I>&gt;<i> register(recorder, RecorderPid);
+</I>&gt;<i> _ -&gt; ok
+</I>&gt;<i> end,
+</I>&gt;<i> {upgrade, protocol, cowboy_websocket}.
+</I>&gt;<i> .....
+</I>&gt;<i> websocket_handle(_Frame, Req, State) -&gt;
+</I>&gt;<i> RecorderPid = whereis(recorder),
+</I>&gt;<i> RecorderPid ! {rec, _Frame/binary},
+</I>&gt;<i> {ok, Req, State}.
+</I>&gt;<i>
+</I>&gt;<i> *#recorder.erl*
+</I>&gt;<i> -module(recorder).
+</I>&gt;<i>
+</I>&gt;<i> -export([start/0, recorder_fun/1]).
+</I>&gt;<i> -compile([debug_info]).
+</I>&gt;<i>
+</I>&gt;<i> recorder_fun(IoDevice) -&gt;
+</I>&gt;<i> receive
+</I>&gt;<i> {rec, Data} -&gt;
+</I>&gt;<i> ok = file:write(IoDevice, Data),
+</I>&gt;<i> io:format(Data),
+</I>&gt;<i> recorder_fun(IoDevice);
+</I>&gt;<i> {stop, _} -&gt;
+</I>&gt;<i> %%Close file
+</I>&gt;<i> file:close(IoDevice)
+</I>&gt;<i> end.
+</I>&gt;<i>
+</I>&gt;<i> start() -&gt;
+</I>&gt;<i> {ok, IoDevice} = file:open(&quot;/tmp/test_binary.wav&quot;, [write,
+</I>&gt;<i> binary]),
+</I>&gt;<i> spawn(recorder, recorder_fun, [IoDevice]).
+</I>&gt;<i>
+</I>&gt;<i>
+</I>&gt;<i> When I start the console, and allow the microphone on the browser, I see
+</I>&gt;<i> this error on the console:
+</I>&gt;<i>
+</I>&gt;<i> =ERROR REPORT==== 29-Sep-2014::18:13:03 ===
+</I>&gt;<i> Ranch listener http had connection process started with
+</I>&gt;<i> cowboy_protocol:start_link/4 at &lt;0.178.0&gt; exit with reason:
+</I>&gt;<i> *{[{reason,badarith},{mfa,{rawec_handler,websocket_handle,3*}},{stacktrace,[{rawec_handler,websocket_handle,3,[{file,&quot;src/rawec_handler.erl&quot;},{line,35}]},{cowboy_websocket,handler_call,7,[{file,&quot;src/cowboy_websocket.erl&quot;},{line,588}]},{cowboy_protocol,execute,4,[{file,&quot;src/cowboy_protocol.erl&quot;},{line,435}]}]},{msg,{binary,&lt;&lt;0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0....(ETC,
+</I>&gt;<i> DATA STREAM CONTINUES)
+</I>&gt;<i>
+</I>&gt;<i> Probably my approach to do this is totally wrong. I there any obvious
+</I>&gt;<i> problem here?
+</I>&gt;<i> Can someone point me to a right direction?. Maybe I should write directly
+</I>&gt;<i> to a file in the *websocket_handle *funcion, but how can I keep a file
+</I>&gt;<i> opened during the streaming?
+</I>&gt;<i>
+</I>&gt;<i> The github repo is here: <A HREF="https://github.com/jmrepetti/rawec">https://github.com/jmrepetti/rawec</A> with the
+</I>&gt;<i> whole source code if you want to take a look.
+</I>&gt;<i>
+</I>&gt;<i>
+</I>&gt;<i> Thanks in advance,
+</I>&gt;<i> Matias.
+</I>&gt;<i>
+</I>&gt;<i> _______________________________________________
+</I>&gt;<i> Extend mailing list
+</I>&gt;<i> <A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A>
+</I>&gt;<i> <A HREF="https://lists.ninenines.eu/listinfo/extend">https://lists.ninenines.eu/listinfo/extend</A>
+</I>&gt;<i>
+</I>&gt;<i>
+</I>
+
+--
+Eduardo
+-------------- next part --------------
+An HTML attachment was scrubbed...
+URL: &lt;<A HREF="http://lists.ninenines.eu/archives/extend/attachments/20140930/6d952ce6/attachment-0001.html">http://lists.ninenines.eu/archives/extend/attachments/20140930/6d952ce6/attachment-0001.html</A>&gt;
+</PRE>
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="000465.html">[99s-extend] Newbie, Cowboy + Websocket + Audio Recording
+</A></li>
+ <LI>Next message: <A HREF="000467.html">[99s-extend] Newbie, Cowboy + Websocket + Audio Recording
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#466">[ date ]</a>
+ <a href="thread.html#466">[ thread ]</a>
+ <a href="subject.html#466">[ subject ]</a>
+ <a href="author.html#466">[ author ]</a>
+ </LI>
+ </UL>
+
+<hr>
+<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend
+mailing list</a><br>
+</body></html>
diff --git a/_build/static/archives/extend/2014-September/000467.html b/_build/static/archives/extend/2014-September/000467.html
new file mode 100644
index 00000000..722b40d2
--- /dev/null
+++ b/_build/static/archives/extend/2014-September/000467.html
@@ -0,0 +1,170 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [99s-extend] Newbie, Cowboy + Websocket + Audio Recording
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Newbie%2C%20Cowboy%20%2B%20Websocket%20%2B%20Audio%20Recording&In-Reply-To=%3CCA%2Bycm%3D5YMMKFpZnfGrOBLu5Jn4WFAiX7BmwbKBti2YsVmJ5JjQ%40mail.gmail.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="000466.html">
+
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[99s-extend] Newbie, Cowboy + Websocket + Audio Recording</H1>
+ <B>Juan Mat&#237;as</B>
+ <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Newbie%2C%20Cowboy%20%2B%20Websocket%20%2B%20Audio%20Recording&In-Reply-To=%3CCA%2Bycm%3D5YMMKFpZnfGrOBLu5Jn4WFAiX7BmwbKBti2YsVmJ5JjQ%40mail.gmail.com%3E"
+ TITLE="[99s-extend] Newbie, Cowboy + Websocket + Audio Recording">jmrepetti at gmail.com
+ </A><BR>
+ <I>Tue Sep 30 12:38:15 CEST 2014</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="000466.html">[99s-extend] Newbie, Cowboy + Websocket + Audio Recording
+</A></li>
+
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#467">[ date ]</a>
+ <a href="thread.html#467">[ thread ]</a>
+ <a href="subject.html#467">[ subject ]</a>
+ <a href="author.html#467">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>Thanks, that fixed the error. Now I'm having other but I'll investigate.
+
+
+
+On Tue, Sep 30, 2014 at 12:53 AM, Eduardo Gurgel &lt;<A HREF="https://lists.ninenines.eu/listinfo/extend">edgurgel at gmail.com</A>&gt; wrote:
+
+&gt;<i> Looking on the output it says:
+</I>&gt;<i>
+</I>&gt;<i> *{reason,badarith} *on this line:
+</I>&gt;<i>
+</I>&gt;<i> RecorderPid ! {rec, _Frame/binary},
+</I>&gt;<i>
+</I>&gt;<i> This may help you somehow.
+</I>&gt;<i>
+</I>&gt;<i> BTW, variables starting with _ are usually used to show unused variables
+</I>&gt;<i> and stop warnings from the compiler.
+</I>&gt;<i>
+</I>&gt;<i> On 30 September 2014 05:52, Juan Mat&#237;as &lt;<A HREF="https://lists.ninenines.eu/listinfo/extend">jmrepetti at gmail.com</A>&gt; wrote:
+</I>&gt;<i>
+</I>&gt;&gt;<i> Hello list, I hope this is the right place to ask this.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> I'm learning Erlang, and I wanted to create a Cowboy app to record audio
+</I>&gt;&gt;<i> from a web browser.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> Based on the websocket example in the Cowboy source code, I get the user
+</I>&gt;&gt;<i> mic input and send this input to the websocket.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> I created a &quot;recorder&quot; module, which functionality is to save the data to
+</I>&gt;&gt;<i> the a file.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> *#rawe_handler.erl*-module(rawec_handler).
+</I>&gt;&gt;<i> -behaviour(cowboy_websocket_handler).
+</I>&gt;&gt;<i> ......
+</I>&gt;&gt;<i> init(_, _, _) -&gt;
+</I>&gt;&gt;<i> case whereis(recorder) of
+</I>&gt;&gt;<i> undefined -&gt;
+</I>&gt;&gt;<i> RecorderPid = recorder:start(),
+</I>&gt;&gt;<i> register(recorder, RecorderPid);
+</I>&gt;&gt;<i> _ -&gt; ok
+</I>&gt;&gt;<i> end,
+</I>&gt;&gt;<i> {upgrade, protocol, cowboy_websocket}.
+</I>&gt;&gt;<i> .....
+</I>&gt;&gt;<i> websocket_handle(_Frame, Req, State) -&gt;
+</I>&gt;&gt;<i> RecorderPid = whereis(recorder),
+</I>&gt;&gt;<i> RecorderPid ! {rec, _Frame/binary},
+</I>&gt;&gt;<i> {ok, Req, State}.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> *#recorder.erl*
+</I>&gt;&gt;<i> -module(recorder).
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> -export([start/0, recorder_fun/1]).
+</I>&gt;&gt;<i> -compile([debug_info]).
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> recorder_fun(IoDevice) -&gt;
+</I>&gt;&gt;<i> receive
+</I>&gt;&gt;<i> {rec, Data} -&gt;
+</I>&gt;&gt;<i> ok = file:write(IoDevice, Data),
+</I>&gt;&gt;<i> io:format(Data),
+</I>&gt;&gt;<i> recorder_fun(IoDevice);
+</I>&gt;&gt;<i> {stop, _} -&gt;
+</I>&gt;&gt;<i> %%Close file
+</I>&gt;&gt;<i> file:close(IoDevice)
+</I>&gt;&gt;<i> end.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> start() -&gt;
+</I>&gt;&gt;<i> {ok, IoDevice} = file:open(&quot;/tmp/test_binary.wav&quot;, [write,
+</I>&gt;&gt;<i> binary]),
+</I>&gt;&gt;<i> spawn(recorder, recorder_fun, [IoDevice]).
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> When I start the console, and allow the microphone on the browser, I see
+</I>&gt;&gt;<i> this error on the console:
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> =ERROR REPORT==== 29-Sep-2014::18:13:03 ===
+</I>&gt;&gt;<i> Ranch listener http had connection process started with
+</I>&gt;&gt;<i> cowboy_protocol:start_link/4 at &lt;0.178.0&gt; exit with reason:
+</I>&gt;&gt;<i> *{[{reason,badarith},{mfa,{rawec_handler,websocket_handle,3*}},{stacktrace,[{rawec_handler,websocket_handle,3,[{file,&quot;src/rawec_handler.erl&quot;},{line,35}]},{cowboy_websocket,handler_call,7,[{file,&quot;src/cowboy_websocket.erl&quot;},{line,588}]},{cowboy_protocol,execute,4,[{file,&quot;src/cowboy_protocol.erl&quot;},{line,435}]}]},{msg,{binary,&lt;&lt;0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0....(ETC,
+</I>&gt;&gt;<i> DATA STREAM CONTINUES)
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> Probably my approach to do this is totally wrong. I there any obvious
+</I>&gt;&gt;<i> problem here?
+</I>&gt;&gt;<i> Can someone point me to a right direction?. Maybe I should write directly
+</I>&gt;&gt;<i> to a file in the *websocket_handle *funcion, but how can I keep a file
+</I>&gt;&gt;<i> opened during the streaming?
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> The github repo is here: <A HREF="https://github.com/jmrepetti/rawec">https://github.com/jmrepetti/rawec</A> with the
+</I>&gt;&gt;<i> whole source code if you want to take a look.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> Thanks in advance,
+</I>&gt;&gt;<i> Matias.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> _______________________________________________
+</I>&gt;&gt;<i> Extend mailing list
+</I>&gt;&gt;<i> <A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A>
+</I>&gt;&gt;<i> <A HREF="https://lists.ninenines.eu/listinfo/extend">https://lists.ninenines.eu/listinfo/extend</A>
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i>
+</I>&gt;<i>
+</I>&gt;<i>
+</I>&gt;<i> --
+</I>&gt;<i> Eduardo
+</I>&gt;<i>
+</I>
+
+
+--
+Mat&#237;as
+-------------- next part --------------
+An HTML attachment was scrubbed...
+URL: &lt;<A HREF="http://lists.ninenines.eu/archives/extend/attachments/20140930/ef46837f/attachment.html">http://lists.ninenines.eu/archives/extend/attachments/20140930/ef46837f/attachment.html</A>&gt;
+</PRE>
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="000466.html">[99s-extend] Newbie, Cowboy + Websocket + Audio Recording
+</A></li>
+
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#467">[ date ]</a>
+ <a href="thread.html#467">[ thread ]</a>
+ <a href="subject.html#467">[ subject ]</a>
+ <a href="author.html#467">[ author ]</a>
+ </LI>
+ </UL>
+
+<hr>
+<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend
+mailing list</a><br>
+</body></html>
diff --git a/_build/static/archives/extend/2014-September/author.html b/_build/static/archives/extend/2014-September/author.html
new file mode 100644
index 00000000..a559a789
--- /dev/null
+++ b/_build/static/archives/extend/2014-September/author.html
@@ -0,0 +1,97 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<HTML>
+ <HEAD>
+ <title>The Extend September 2014 Archive by author</title>
+ <META NAME="robots" CONTENT="noindex,follow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <a name="start"></A>
+ <h1>September 2014 Archives by author</h1>
+ <ul>
+ <li> <b>Messages sorted by:</b>
+ <a href="thread.html#start">[ thread ]</a>
+ <a href="subject.html#start">[ subject ]</a>
+
+ <a href="date.html#start">[ date ]</a>
+
+ <li><b><a href="https://lists.ninenines.eu/listinfo/extend">More info on this list...
+ </a></b></li>
+ </ul>
+ <p><b>Starting:</b> <i>Mon Sep 15 23:24:20 CEST 2014</i><br>
+ <b>Ending:</b> <i>Tue Sep 30 12:38:15 CEST 2014</i><br>
+ <b>Messages:</b> 10<p>
+ <ul>
+
+<LI><A HREF="000466.html">[99s-extend] Newbie, Cowboy + Websocket + Audio Recording
+</A><A NAME="466">&nbsp;</A>
+<I>Eduardo Gurgel
+</I>
+
+<LI><A HREF="000461.html">[99s-extend] :binding doc
+</A><A NAME="461">&nbsp;</A>
+<I>Lo&#239;c Hoguin
+</I>
+
+<LI><A HREF="000462.html">[99s-extend] Using cowboy_req:body more than once per request
+</A><A NAME="462">&nbsp;</A>
+<I>Lo&#239;c Hoguin
+</I>
+
+<LI><A HREF="000464.html">[99s-extend] Using cowboy_req:body more than once per request
+</A><A NAME="464">&nbsp;</A>
+<I>Lo&#239;c Hoguin
+</I>
+
+<LI><A HREF="000465.html">[99s-extend] Newbie, Cowboy + Websocket + Audio Recording
+</A><A NAME="465">&nbsp;</A>
+<I>Juan Mat&#237;as
+</I>
+
+<LI><A HREF="000467.html">[99s-extend] Newbie, Cowboy + Websocket + Audio Recording
+</A><A NAME="467">&nbsp;</A>
+<I>Juan Mat&#237;as
+</I>
+
+<LI><A HREF="000458.html">[99s-extend] Using cowboy_req:body more than once per request
+</A><A NAME="458">&nbsp;</A>
+<I>Paulo F. Oliveira
+</I>
+
+<LI><A HREF="000459.html">[99s-extend] :binding doc
+</A><A NAME="459">&nbsp;</A>
+<I>Paulo F. Oliveira
+</I>
+
+<LI><A HREF="000460.html">[99s-extend] :binding doc
+</A><A NAME="460">&nbsp;</A>
+<I>Paulo F. Oliveira
+</I>
+
+<LI><A HREF="000463.html">[99s-extend] Using cowboy_req:body more than once per request
+</A><A NAME="463">&nbsp;</A>
+<I>Paulo F. Oliveira
+</I>
+
+ </ul>
+ <p>
+ <a name="end"><b>Last message date:</b></a>
+ <i>Tue Sep 30 12:38:15 CEST 2014</i><br>
+ <b>Archived on:</b> <i>Tue Sep 30 12:45:20 CEST 2014</i>
+ <p>
+ <ul>
+ <li> <b>Messages sorted by:</b>
+ <a href="thread.html#start">[ thread ]</a>
+ <a href="subject.html#start">[ subject ]</a>
+
+ <a href="date.html#start">[ date ]</a>
+ <li><b><a href="https://lists.ninenines.eu/listinfo/extend">More info on this list...
+ </a></b></li>
+ </ul>
+ <p>
+ <hr>
+ <i>This archive was generated by
+ Pipermail 0.09 (Mailman edition).</i>
+ </BODY>
+</HTML>
+
diff --git a/_build/static/archives/extend/2014-September/date.html b/_build/static/archives/extend/2014-September/date.html
new file mode 100644
index 00000000..85c9135a
--- /dev/null
+++ b/_build/static/archives/extend/2014-September/date.html
@@ -0,0 +1,97 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<HTML>
+ <HEAD>
+ <title>The Extend September 2014 Archive by date</title>
+ <META NAME="robots" CONTENT="noindex,follow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <a name="start"></A>
+ <h1>September 2014 Archives by date</h1>
+ <ul>
+ <li> <b>Messages sorted by:</b>
+ <a href="thread.html#start">[ thread ]</a>
+ <a href="subject.html#start">[ subject ]</a>
+ <a href="author.html#start">[ author ]</a>
+
+
+ <li><b><a href="https://lists.ninenines.eu/listinfo/extend">More info on this list...
+ </a></b></li>
+ </ul>
+ <p><b>Starting:</b> <i>Mon Sep 15 23:24:20 CEST 2014</i><br>
+ <b>Ending:</b> <i>Tue Sep 30 12:38:15 CEST 2014</i><br>
+ <b>Messages:</b> 10<p>
+ <ul>
+
+<LI><A HREF="000458.html">[99s-extend] Using cowboy_req:body more than once per request
+</A><A NAME="458">&nbsp;</A>
+<I>Paulo F. Oliveira
+</I>
+
+<LI><A HREF="000459.html">[99s-extend] :binding doc
+</A><A NAME="459">&nbsp;</A>
+<I>Paulo F. Oliveira
+</I>
+
+<LI><A HREF="000460.html">[99s-extend] :binding doc
+</A><A NAME="460">&nbsp;</A>
+<I>Paulo F. Oliveira
+</I>
+
+<LI><A HREF="000461.html">[99s-extend] :binding doc
+</A><A NAME="461">&nbsp;</A>
+<I>Lo&#239;c Hoguin
+</I>
+
+<LI><A HREF="000462.html">[99s-extend] Using cowboy_req:body more than once per request
+</A><A NAME="462">&nbsp;</A>
+<I>Lo&#239;c Hoguin
+</I>
+
+<LI><A HREF="000463.html">[99s-extend] Using cowboy_req:body more than once per request
+</A><A NAME="463">&nbsp;</A>
+<I>Paulo F. Oliveira
+</I>
+
+<LI><A HREF="000464.html">[99s-extend] Using cowboy_req:body more than once per request
+</A><A NAME="464">&nbsp;</A>
+<I>Lo&#239;c Hoguin
+</I>
+
+<LI><A HREF="000465.html">[99s-extend] Newbie, Cowboy + Websocket + Audio Recording
+</A><A NAME="465">&nbsp;</A>
+<I>Juan Mat&#237;as
+</I>
+
+<LI><A HREF="000466.html">[99s-extend] Newbie, Cowboy + Websocket + Audio Recording
+</A><A NAME="466">&nbsp;</A>
+<I>Eduardo Gurgel
+</I>
+
+<LI><A HREF="000467.html">[99s-extend] Newbie, Cowboy + Websocket + Audio Recording
+</A><A NAME="467">&nbsp;</A>
+<I>Juan Mat&#237;as
+</I>
+
+ </ul>
+ <p>
+ <a name="end"><b>Last message date:</b></a>
+ <i>Tue Sep 30 12:38:15 CEST 2014</i><br>
+ <b>Archived on:</b> <i>Tue Sep 30 12:45:20 CEST 2014</i>
+ <p>
+ <ul>
+ <li> <b>Messages sorted by:</b>
+ <a href="thread.html#start">[ thread ]</a>
+ <a href="subject.html#start">[ subject ]</a>
+ <a href="author.html#start">[ author ]</a>
+
+ <li><b><a href="https://lists.ninenines.eu/listinfo/extend">More info on this list...
+ </a></b></li>
+ </ul>
+ <p>
+ <hr>
+ <i>This archive was generated by
+ Pipermail 0.09 (Mailman edition).</i>
+ </BODY>
+</HTML>
+
diff --git a/_build/static/archives/extend/2014-September/index.html b/_build/static/archives/extend/2014-September/index.html
new file mode 120000
index 00000000..db4b46f7
--- /dev/null
+++ b/_build/static/archives/extend/2014-September/index.html
@@ -0,0 +1 @@
+thread.html \ No newline at end of file
diff --git a/_build/static/archives/extend/2014-September/subject.html b/_build/static/archives/extend/2014-September/subject.html
new file mode 100644
index 00000000..47e15aa1
--- /dev/null
+++ b/_build/static/archives/extend/2014-September/subject.html
@@ -0,0 +1,97 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<HTML>
+ <HEAD>
+ <title>The Extend September 2014 Archive by subject</title>
+ <META NAME="robots" CONTENT="noindex,follow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <a name="start"></A>
+ <h1>September 2014 Archives by subject</h1>
+ <ul>
+ <li> <b>Messages sorted by:</b>
+ <a href="thread.html#start">[ thread ]</a>
+
+ <a href="author.html#start">[ author ]</a>
+ <a href="date.html#start">[ date ]</a>
+
+ <li><b><a href="https://lists.ninenines.eu/listinfo/extend">More info on this list...
+ </a></b></li>
+ </ul>
+ <p><b>Starting:</b> <i>Mon Sep 15 23:24:20 CEST 2014</i><br>
+ <b>Ending:</b> <i>Tue Sep 30 12:38:15 CEST 2014</i><br>
+ <b>Messages:</b> 10<p>
+ <ul>
+
+<LI><A HREF="000459.html">[99s-extend] :binding doc
+</A><A NAME="459">&nbsp;</A>
+<I>Paulo F. Oliveira
+</I>
+
+<LI><A HREF="000460.html">[99s-extend] :binding doc
+</A><A NAME="460">&nbsp;</A>
+<I>Paulo F. Oliveira
+</I>
+
+<LI><A HREF="000461.html">[99s-extend] :binding doc
+</A><A NAME="461">&nbsp;</A>
+<I>Lo&#239;c Hoguin
+</I>
+
+<LI><A HREF="000465.html">[99s-extend] Newbie, Cowboy + Websocket + Audio Recording
+</A><A NAME="465">&nbsp;</A>
+<I>Juan Mat&#237;as
+</I>
+
+<LI><A HREF="000466.html">[99s-extend] Newbie, Cowboy + Websocket + Audio Recording
+</A><A NAME="466">&nbsp;</A>
+<I>Eduardo Gurgel
+</I>
+
+<LI><A HREF="000467.html">[99s-extend] Newbie, Cowboy + Websocket + Audio Recording
+</A><A NAME="467">&nbsp;</A>
+<I>Juan Mat&#237;as
+</I>
+
+<LI><A HREF="000458.html">[99s-extend] Using cowboy_req:body more than once per request
+</A><A NAME="458">&nbsp;</A>
+<I>Paulo F. Oliveira
+</I>
+
+<LI><A HREF="000462.html">[99s-extend] Using cowboy_req:body more than once per request
+</A><A NAME="462">&nbsp;</A>
+<I>Lo&#239;c Hoguin
+</I>
+
+<LI><A HREF="000463.html">[99s-extend] Using cowboy_req:body more than once per request
+</A><A NAME="463">&nbsp;</A>
+<I>Paulo F. Oliveira
+</I>
+
+<LI><A HREF="000464.html">[99s-extend] Using cowboy_req:body more than once per request
+</A><A NAME="464">&nbsp;</A>
+<I>Lo&#239;c Hoguin
+</I>
+
+ </ul>
+ <p>
+ <a name="end"><b>Last message date:</b></a>
+ <i>Tue Sep 30 12:38:15 CEST 2014</i><br>
+ <b>Archived on:</b> <i>Tue Sep 30 12:45:20 CEST 2014</i>
+ <p>
+ <ul>
+ <li> <b>Messages sorted by:</b>
+ <a href="thread.html#start">[ thread ]</a>
+
+ <a href="author.html#start">[ author ]</a>
+ <a href="date.html#start">[ date ]</a>
+ <li><b><a href="https://lists.ninenines.eu/listinfo/extend">More info on this list...
+ </a></b></li>
+ </ul>
+ <p>
+ <hr>
+ <i>This archive was generated by
+ Pipermail 0.09 (Mailman edition).</i>
+ </BODY>
+</HTML>
+
diff --git a/_build/static/archives/extend/2014-September/thread.html b/_build/static/archives/extend/2014-September/thread.html
new file mode 100644
index 00000000..0c9a6ce2
--- /dev/null
+++ b/_build/static/archives/extend/2014-September/thread.html
@@ -0,0 +1,119 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<HTML>
+ <HEAD>
+ <title>The Extend September 2014 Archive by thread</title>
+ <META NAME="robots" CONTENT="noindex,follow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <a name="start"></A>
+ <h1>September 2014 Archives by thread</h1>
+ <ul>
+ <li> <b>Messages sorted by:</b>
+
+ <a href="subject.html#start">[ subject ]</a>
+ <a href="author.html#start">[ author ]</a>
+ <a href="date.html#start">[ date ]</a>
+
+ <li><b><a href="https://lists.ninenines.eu/listinfo/extend">More info on this list...
+ </a></b></li>
+ </ul>
+ <p><b>Starting:</b> <i>Mon Sep 15 23:24:20 CEST 2014</i><br>
+ <b>Ending:</b> <i>Tue Sep 30 12:38:15 CEST 2014</i><br>
+ <b>Messages:</b> 10<p>
+ <ul>
+
+<!--0 01410816260.458- -->
+<LI><A HREF="000458.html">[99s-extend] Using cowboy_req:body more than once per request
+</A><A NAME="458">&nbsp;</A>
+<I>Paulo F. Oliveira
+</I>
+
+<UL>
+<!--1 01410816260.458-01410819747.462- -->
+<LI><A HREF="000462.html">[99s-extend] Using cowboy_req:body more than once per request
+</A><A NAME="462">&nbsp;</A>
+<I>Lo&#239;c Hoguin
+</I>
+
+<UL>
+<!--2 01410816260.458-01410819747.462-01410820520.463- -->
+<LI><A HREF="000463.html">[99s-extend] Using cowboy_req:body more than once per request
+</A><A NAME="463">&nbsp;</A>
+<I>Paulo F. Oliveira
+</I>
+
+<UL>
+<!--3 01410816260.458-01410819747.462-01410820520.463-01410820940.464- -->
+<LI><A HREF="000464.html">[99s-extend] Using cowboy_req:body more than once per request
+</A><A NAME="464">&nbsp;</A>
+<I>Lo&#239;c Hoguin
+</I>
+
+</UL>
+</UL>
+</UL>
+<!--0 01410816888.459- -->
+<LI><A HREF="000459.html">[99s-extend] :binding doc
+</A><A NAME="459">&nbsp;</A>
+<I>Paulo F. Oliveira
+</I>
+
+<UL>
+<!--1 01410816888.459-01410818139.460- -->
+<LI><A HREF="000460.html">[99s-extend] :binding doc
+</A><A NAME="460">&nbsp;</A>
+<I>Paulo F. Oliveira
+</I>
+
+<!--1 01410816888.459-01410819344.461- -->
+<LI><A HREF="000461.html">[99s-extend] :binding doc
+</A><A NAME="461">&nbsp;</A>
+<I>Lo&#239;c Hoguin
+</I>
+
+</UL>
+<!--0 01412009536.465- -->
+<LI><A HREF="000465.html">[99s-extend] Newbie, Cowboy + Websocket + Audio Recording
+</A><A NAME="465">&nbsp;</A>
+<I>Juan Mat&#237;as
+</I>
+
+<UL>
+<!--1 01412009536.465-01412031206.466- -->
+<LI><A HREF="000466.html">[99s-extend] Newbie, Cowboy + Websocket + Audio Recording
+</A><A NAME="466">&nbsp;</A>
+<I>Eduardo Gurgel
+</I>
+
+<UL>
+<!--2 01412009536.465-01412031206.466-01412073495.467- -->
+<LI><A HREF="000467.html">[99s-extend] Newbie, Cowboy + Websocket + Audio Recording
+</A><A NAME="467">&nbsp;</A>
+<I>Juan Mat&#237;as
+</I>
+
+</UL>
+</UL>
+ </ul>
+ <p>
+ <a name="end"><b>Last message date:</b></a>
+ <i>Tue Sep 30 12:38:15 CEST 2014</i><br>
+ <b>Archived on:</b> <i>Tue Sep 30 12:45:20 CEST 2014</i>
+ <p>
+ <ul>
+ <li> <b>Messages sorted by:</b>
+
+ <a href="subject.html#start">[ subject ]</a>
+ <a href="author.html#start">[ author ]</a>
+ <a href="date.html#start">[ date ]</a>
+ <li><b><a href="https://lists.ninenines.eu/listinfo/extend">More info on this list...
+ </a></b></li>
+ </ul>
+ <p>
+ <hr>
+ <i>This archive was generated by
+ Pipermail 0.09 (Mailman edition).</i>
+ </BODY>
+</HTML>
+