diff options
author | Loïc Hoguin <[email protected]> | 2016-08-29 12:39:49 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2016-08-29 12:40:03 +0200 |
commit | c807880f7ac73f813b2660ea81a00f7712a4e793 (patch) | |
tree | ba1d09e9b177f230665a80513b33fbd532000ce4 /archives/extend/2013-February | |
parent | b1df25a7d9cda697513650659b781b55b40898f8 (diff) | |
download | ninenines.eu-c807880f7ac73f813b2660ea81a00f7712a4e793.tar.gz ninenines.eu-c807880f7ac73f813b2660ea81a00f7712a4e793.tar.bz2 ninenines.eu-c807880f7ac73f813b2660ea81a00f7712a4e793.zip |
Add old mailing list archives
Diffstat (limited to 'archives/extend/2013-February')
28 files changed, 3029 insertions, 0 deletions
diff --git a/archives/extend/2013-February/000043.html b/archives/extend/2013-February/000043.html new file mode 100644 index 00000000..36cbddbd --- /dev/null +++ b/archives/extend/2013-February/000043.html @@ -0,0 +1,93 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] Cowboy Makefile + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Cowboy%20Makefile&In-Reply-To=%3CCAKD1GY7%2BfvMOR6PhOz%3DQGAi8r2T_Obf4gCjaH4hN_%3DJ%2BhNyw4w%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="000044.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] Cowboy Makefile</H1> + <B>Jeremy Ong</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Cowboy%20Makefile&In-Reply-To=%3CCAKD1GY7%2BfvMOR6PhOz%3DQGAi8r2T_Obf4gCjaH4hN_%3DJ%2BhNyw4w%40mail.gmail.com%3E" + TITLE="[99s-extend] Cowboy Makefile">jeremy at quarkgames.com + </A><BR> + <I>Mon Feb 4 21:10:21 CET 2013</I> + <P><UL> + + <LI>Next message: <A HREF="000044.html">[99s-extend] Cowboy Makefile +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#43">[ date ]</a> + <a href="thread.html#43">[ thread ]</a> + <a href="subject.html#43">[ subject ]</a> + <a href="author.html#43">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>It is rebar compatible + +<A HREF="https://github.com/extend/cowboy/blob/master/rebar.config">https://github.com/extend/cowboy/blob/master/rebar.config</A> + +I use it with rebar all the time. + + +On Thu, Jan 24, 2013 at 2:41 PM, Grzegorz Junka <<A HREF="https://lists.ninenines.eu/listinfo/extend">list1 at gjunka.com</A>> wrote: + +><i> Hi, +</I>><i> I understand the move away from Rebar but I'd like to see the project to +</I>><i> be still Rebar-compatible. Would that be a problem? Mainly I am thinking +</I>><i> about dependencies. The Cowboy Makefile assumes that Ranch is in its deps +</I>><i> folder. If Cowboy is a part of a bigger application, and most often it will +</I>><i> be in such a role rather than a standalone application, then all +</I>><i> dependencies should be kept in one place. In that case it would be the main +</I>><i> project's deps folder, not Cowboy's deps folder. Can the compilation +</I>><i> process be split into compiling Cowboy dependencies separately from Cowboy +</I>><i> itself? +</I>><i> +</I>><i> something like: +</I>><i> +</I>><i> all: compile-deps compile-cowboy +</I>><i> +</I>><i> Then if Cowboy is a dependency itself it may be just compiled without the +</I>><i> dependency (as it will be compiled when the main project is compiled). +</I>><i> +</I>><i> ______________________________**_________________ +</I>><i> Extend mailing list +</I>><i> <A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A> +</I>><i> <A HREF="http://lists.ninenines.eu:81/**listinfo/extend<http://lists.ninenines.eu:81/listinfo/extend">http://lists.ninenines.eu:81/**listinfo/extend<http://lists.ninenines.eu:81/listinfo/extend</A>> +</I>><i> +</I>-------------- next part -------------- +An HTML attachment was scrubbed... +URL: <<A HREF="http://lists.ninenines.eu/archives/extend/attachments/20130204/3c258140/attachment.html">http://lists.ninenines.eu/archives/extend/attachments/20130204/3c258140/attachment.html</A>> +</PRE> + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + + <LI>Next message: <A HREF="000044.html">[99s-extend] Cowboy Makefile +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#43">[ date ]</a> + <a href="thread.html#43">[ thread ]</a> + <a href="subject.html#43">[ subject ]</a> + <a href="author.html#43">[ 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/archives/extend/2013-February/000044.html b/archives/extend/2013-February/000044.html new file mode 100644 index 00000000..303f2249 --- /dev/null +++ b/archives/extend/2013-February/000044.html @@ -0,0 +1,115 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] Cowboy Makefile + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Cowboy%20Makefile&In-Reply-To=%3C51102D16.8030000%40gjunka.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="000043.html"> + <LINK REL="Next" HREF="000045.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] Cowboy Makefile</H1> + <B>Grzegorz Junka</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Cowboy%20Makefile&In-Reply-To=%3C51102D16.8030000%40gjunka.com%3E" + TITLE="[99s-extend] Cowboy Makefile">list1 at gjunka.com + </A><BR> + <I>Mon Feb 4 22:50:14 CET 2013</I> + <P><UL> + <LI>Previous message: <A HREF="000043.html">[99s-extend] Cowboy Makefile +</A></li> + <LI>Next message: <A HREF="000045.html">[99s-extend] Cowboy Makefile +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#44">[ date ]</a> + <a href="thread.html#44">[ thread ]</a> + <a href="subject.html#44">[ subject ]</a> + <a href="author.html#44">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>deps/ranch: +@mkdir -p $(DEPS_DIR) +git clone -n -- <A HREF="https://github.com/extend/ranch.git">https://github.com/extend/ranch.git</A> $(DEPS_DIR)/ranch +cd $(DEPS_DIR)/ranch ; git checkout -q $(RANCH_VSN) + + +Am I to understand that the only way of having the dependencies in +another folder than cowboy/deps is to use Rebar (e.g. if compiling using +the makefile it will always assume that dependencies are in local deps +folder)? + +Would be good to have a target to compile cowboy without dependencies. + + +On 04/02/2013 20:10, Jeremy Ong wrote: +><i> It is rebar compatible +</I>><i> +</I>><i> <A HREF="https://github.com/extend/cowboy/blob/master/rebar.config">https://github.com/extend/cowboy/blob/master/rebar.config</A> +</I>><i> +</I>><i> I use it with rebar all the time. +</I>><i> +</I>><i> +</I>><i> On Thu, Jan 24, 2013 at 2:41 PM, Grzegorz Junka <<A HREF="https://lists.ninenines.eu/listinfo/extend">list1 at gjunka.com</A> +</I>><i> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">list1 at gjunka.com</A>>> wrote: +</I>><i> +</I>><i> Hi, +</I>><i> I understand the move away from Rebar but I'd like to see the +</I>><i> project to be still Rebar-compatible. Would that be a problem? +</I>><i> Mainly I am thinking about dependencies. The Cowboy Makefile +</I>><i> assumes that Ranch is in its deps folder. If Cowboy is a part of a +</I>><i> bigger application, and most often it will be in such a role +</I>><i> rather than a standalone application, then all dependencies should +</I>><i> be kept in one place. In that case it would be the main project's +</I>><i> deps folder, not Cowboy's deps folder. Can the compilation process +</I>><i> be split into compiling Cowboy dependencies separately from Cowboy +</I>><i> itself? +</I>><i> +</I>><i> something like: +</I>><i> +</I>><i> all: compile-deps compile-cowboy +</I>><i> +</I>><i> Then if Cowboy is a dependency itself it may be just compiled +</I>><i> without the dependency (as it will be compiled when the main +</I>><i> project is compiled). +</I>><i> +</I>><i> _______________________________________________ +</I>><i> Extend mailing list +</I>><i> <A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A>> +</I>><i> <A HREF="http://lists.ninenines.eu:81/listinfo/extend">http://lists.ninenines.eu:81/listinfo/extend</A> +</I>><i> +</I>><i> +</I> +-------------- next part -------------- +An HTML attachment was scrubbed... +URL: <<A HREF="http://lists.ninenines.eu/archives/extend/attachments/20130204/c34e6aa6/attachment.html">http://lists.ninenines.eu/archives/extend/attachments/20130204/c34e6aa6/attachment.html</A>> +</PRE> + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000043.html">[99s-extend] Cowboy Makefile +</A></li> + <LI>Next message: <A HREF="000045.html">[99s-extend] Cowboy Makefile +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#44">[ date ]</a> + <a href="thread.html#44">[ thread ]</a> + <a href="subject.html#44">[ subject ]</a> + <a href="author.html#44">[ 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/archives/extend/2013-February/000045.html b/archives/extend/2013-February/000045.html new file mode 100644 index 00000000..4e04e930 --- /dev/null +++ b/archives/extend/2013-February/000045.html @@ -0,0 +1,134 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] Cowboy Makefile + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Cowboy%20Makefile&In-Reply-To=%3C51102F0F.6060607%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="000044.html"> + <LINK REL="Next" HREF="000046.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] Cowboy Makefile</H1> + <B>Loïc Hoguin</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Cowboy%20Makefile&In-Reply-To=%3C51102F0F.6060607%40ninenines.eu%3E" + TITLE="[99s-extend] Cowboy Makefile">essen at ninenines.eu + </A><BR> + <I>Mon Feb 4 22:58:39 CET 2013</I> + <P><UL> + <LI>Previous message: <A HREF="000044.html">[99s-extend] Cowboy Makefile +</A></li> + <LI>Next message: <A HREF="000046.html">[99s-extend] Big body via REST +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#45">[ date ]</a> + <a href="thread.html#45">[ thread ]</a> + <a href="subject.html#45">[ subject ]</a> + <a href="author.html#45">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Cowboy is still compatible with rebar like before, there's no change you +need to do. + +If however you would like to compile using the Makefile regardless, +there's a small thing that needs to be fixed before it's good. + +On 02/04/2013 10:50 PM, Grzegorz Junka wrote: +><i> deps/ranch: +</I>><i> @mkdir -p $(DEPS_DIR) +</I>><i> git clone -n -- <A HREF="https://github.com/extend/ranch.git">https://github.com/extend/ranch.git</A> $(DEPS_DIR)/ranch +</I>><i> cd $(DEPS_DIR)/ranch ; git checkout -q $(RANCH_VSN) +</I>><i> +</I>><i> +</I>><i> Am I to understand that the only way of having the dependencies in +</I>><i> another folder than cowboy/deps is to use Rebar (e.g. if compiling using +</I>><i> the makefile it will always assume that dependencies are in local deps +</I>><i> folder)? +</I>><i> +</I>><i> Would be good to have a target to compile cowboy without dependencies. +</I>><i> +</I>><i> +</I>><i> On 04/02/2013 20:10, Jeremy Ong wrote: +</I>>><i> It is rebar compatible +</I>>><i> +</I>>><i> <A HREF="https://github.com/extend/cowboy/blob/master/rebar.config">https://github.com/extend/cowboy/blob/master/rebar.config</A> +</I>>><i> +</I>>><i> I use it with rebar all the time. +</I>>><i> +</I>>><i> +</I>>><i> On Thu, Jan 24, 2013 at 2:41 PM, Grzegorz Junka <<A HREF="https://lists.ninenines.eu/listinfo/extend">list1 at gjunka.com</A> +</I>>><i> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">list1 at gjunka.com</A>>> wrote: +</I>>><i> +</I>>><i> Hi, +</I>>><i> I understand the move away from Rebar but I'd like to see the +</I>>><i> project to be still Rebar-compatible. Would that be a problem? +</I>>><i> Mainly I am thinking about dependencies. The Cowboy Makefile +</I>>><i> assumes that Ranch is in its deps folder. If Cowboy is a part of a +</I>>><i> bigger application, and most often it will be in such a role +</I>>><i> rather than a standalone application, then all dependencies should +</I>>><i> be kept in one place. In that case it would be the main project's +</I>>><i> deps folder, not Cowboy's deps folder. Can the compilation process +</I>>><i> be split into compiling Cowboy dependencies separately from Cowboy +</I>>><i> itself? +</I>>><i> +</I>>><i> something like: +</I>>><i> +</I>>><i> all: compile-deps compile-cowboy +</I>>><i> +</I>>><i> Then if Cowboy is a dependency itself it may be just compiled +</I>>><i> without the dependency (as it will be compiled when the main +</I>>><i> project is compiled). +</I>>><i> +</I>>><i> _______________________________________________ +</I>>><i> Extend mailing list +</I>>><i> <A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A>> +</I>>><i> <A HREF="http://lists.ninenines.eu:81/listinfo/extend">http://lists.ninenines.eu:81/listinfo/extend</A> +</I>>><i> +</I>>><i> +</I>><i> +</I>><i> +</I>><i> +</I>><i> _______________________________________________ +</I>><i> Extend mailing list +</I>><i> <A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A> +</I>><i> <A HREF="http://lists.ninenines.eu:81/listinfo/extend">http://lists.ninenines.eu:81/listinfo/extend</A> +</I>><i> +</I> + +-- +Loïc Hoguin +Erlang Cowboy +Nine Nines +<A HREF="http://ninenines.eu">http://ninenines.eu</A> + +</PRE> + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000044.html">[99s-extend] Cowboy Makefile +</A></li> + <LI>Next message: <A HREF="000046.html">[99s-extend] Big body via REST +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#45">[ date ]</a> + <a href="thread.html#45">[ thread ]</a> + <a href="subject.html#45">[ subject ]</a> + <a href="author.html#45">[ 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/archives/extend/2013-February/000046.html b/archives/extend/2013-February/000046.html new file mode 100644 index 00000000..eae5ae9f --- /dev/null +++ b/archives/extend/2013-February/000046.html @@ -0,0 +1,69 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] Big body via REST + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Big%20body%20via%20REST&In-Reply-To=%3CAF88F919-0224-438A-8CD6-CAFBEA30C86A%40gmail.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="000045.html"> + <LINK REL="Next" HREF="000047.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] Big body via REST</H1> + <B>Sergey Yelin</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Big%20body%20via%20REST&In-Reply-To=%3CAF88F919-0224-438A-8CD6-CAFBEA30C86A%40gmail.com%3E" + TITLE="[99s-extend] Big body via REST">elinsn at gmail.com + </A><BR> + <I>Thu Feb 7 11:04:05 CET 2013</I> + <P><UL> + <LI>Previous message: <A HREF="000045.html">[99s-extend] Cowboy Makefile +</A></li> + <LI>Next message: <A HREF="000047.html">[99s-extend] Big body via REST +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#46">[ date ]</a> + <a href="thread.html#46">[ thread ]</a> + <a href="subject.html#46">[ subject ]</a> + <a href="author.html#46">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Hi list, + +how properly send big response (hundreds of megabytes) via REST callback? As far as I can see REST handler in cowboy handles special case for callback functions (cowboy_rest.erl, line 844): {stream, StreamFun} - is it right place for stream big response from SQL database? + +Thanks in advance. + +--- +Best regards, +Sergey Yelin. +</PRE> + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000045.html">[99s-extend] Cowboy Makefile +</A></li> + <LI>Next message: <A HREF="000047.html">[99s-extend] Big body via REST +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#46">[ date ]</a> + <a href="thread.html#46">[ thread ]</a> + <a href="subject.html#46">[ subject ]</a> + <a href="author.html#46">[ 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/archives/extend/2013-February/000047.html b/archives/extend/2013-February/000047.html new file mode 100644 index 00000000..4cc75a92 --- /dev/null +++ b/archives/extend/2013-February/000047.html @@ -0,0 +1,77 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] Big body via REST + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Big%20body%20via%20REST&In-Reply-To=%3C5113BCFF.5010506%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="000046.html"> + <LINK REL="Next" HREF="000048.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] Big body via REST</H1> + <B>Loïc Hoguin</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Big%20body%20via%20REST&In-Reply-To=%3C5113BCFF.5010506%40ninenines.eu%3E" + TITLE="[99s-extend] Big body via REST">essen at ninenines.eu + </A><BR> + <I>Thu Feb 7 15:41:03 CET 2013</I> + <P><UL> + <LI>Previous message: <A HREF="000046.html">[99s-extend] Big body via REST +</A></li> + <LI>Next message: <A HREF="000048.html">[99s-extend] Big body via REST +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#47">[ date ]</a> + <a href="thread.html#47">[ thread ]</a> + <a href="subject.html#47">[ subject ]</a> + <a href="author.html#47">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>On 02/07/2013 11:04 AM, Sergey Yelin wrote: +><i> Hi list, +</I>><i> +</I>><i> how properly send big response (hundreds of megabytes) via REST callback? As far as I can see REST handler in cowboy handles special case for callback functions (cowboy_rest.erl, line 844): {stream, StreamFun} - is it right place for stream big response from SQL database? +</I> +Hey, + +If you know the size, reply with {stream, Size, StreamFun}, otherwise +{stream, StreamFun}, with StreamFun the function that will send all the +data to the socket. + +-- +Loïc Hoguin +Erlang Cowboy +Nine Nines +<A HREF="http://ninenines.eu">http://ninenines.eu</A> + +</PRE> + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000046.html">[99s-extend] Big body via REST +</A></li> + <LI>Next message: <A HREF="000048.html">[99s-extend] Big body via REST +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#47">[ date ]</a> + <a href="thread.html#47">[ thread ]</a> + <a href="subject.html#47">[ subject ]</a> + <a href="author.html#47">[ 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/archives/extend/2013-February/000048.html b/archives/extend/2013-February/000048.html new file mode 100644 index 00000000..62ddba81 --- /dev/null +++ b/archives/extend/2013-February/000048.html @@ -0,0 +1,86 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] Big body via REST + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Big%20body%20via%20REST&In-Reply-To=%3C76D0E7F7-1819-44D0-A692-8A7C0E965D2C%40gmail.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="000047.html"> + <LINK REL="Next" HREF="000049.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] Big body via REST</H1> + <B>Sergey Yelin</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Big%20body%20via%20REST&In-Reply-To=%3C76D0E7F7-1819-44D0-A692-8A7C0E965D2C%40gmail.com%3E" + TITLE="[99s-extend] Big body via REST">elinsn at gmail.com + </A><BR> + <I>Thu Feb 7 15:46:31 CET 2013</I> + <P><UL> + <LI>Previous message: <A HREF="000047.html">[99s-extend] Big body via REST +</A></li> + <LI>Next message: <A HREF="000049.html">[99s-extend] How to send multiple messages in response to one message from Cowboy +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#48">[ date ]</a> + <a href="thread.html#48">[ thread ]</a> + <a href="subject.html#48">[ subject ]</a> + <a href="author.html#48">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Ok, thanks. + +On Feb 7, 2013, at 6:41 PM, Loïc Hoguin <<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>> wrote: + +><i> On 02/07/2013 11:04 AM, Sergey Yelin wrote: +</I>>><i> Hi list, +</I>>><i> +</I>>><i> how properly send big response (hundreds of megabytes) via REST callback? As far as I can see REST handler in cowboy handles special case for callback functions (cowboy_rest.erl, line 844): {stream, StreamFun} - is it right place for stream big response from SQL database? +</I>><i> +</I>><i> Hey, +</I>><i> +</I>><i> If you know the size, reply with {stream, Size, StreamFun}, otherwise {stream, StreamFun}, with StreamFun the function that will send all the data to the socket. +</I>><i> +</I>><i> -- +</I>><i> Loïc Hoguin +</I>><i> Erlang Cowboy +</I>><i> Nine Nines +</I>><i> <A HREF="http://ninenines.eu">http://ninenines.eu</A> +</I> +--- +Best regards, +Sergey Yelin. + + + + +</PRE> + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000047.html">[99s-extend] Big body via REST +</A></li> + <LI>Next message: <A HREF="000049.html">[99s-extend] How to send multiple messages in response to one message from Cowboy +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#48">[ date ]</a> + <a href="thread.html#48">[ thread ]</a> + <a href="subject.html#48">[ subject ]</a> + <a href="author.html#48">[ 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/archives/extend/2013-February/000049.html b/archives/extend/2013-February/000049.html new file mode 100644 index 00000000..9a5040ee --- /dev/null +++ b/archives/extend/2013-February/000049.html @@ -0,0 +1,74 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] How to send multiple messages in response to one message from Cowboy + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20How%20to%20send%20multiple%20messages%20in%20response%20to%20one%0A%09message%20from%20Cowboy&In-Reply-To=%3C5114F8C8.9020807%40jkemp.net%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="000048.html"> + <LINK REL="Next" HREF="000050.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] How to send multiple messages in response to one message from Cowboy</H1> + <B>John Kemp</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20How%20to%20send%20multiple%20messages%20in%20response%20to%20one%0A%09message%20from%20Cowboy&In-Reply-To=%3C5114F8C8.9020807%40jkemp.net%3E" + TITLE="[99s-extend] How to send multiple messages in response to one message from Cowboy">john at jkemp.net + </A><BR> + <I>Fri Feb 8 14:08:24 CET 2013</I> + <P><UL> + <LI>Previous message: <A HREF="000048.html">[99s-extend] Big body via REST +</A></li> + <LI>Next message: <A HREF="000050.html">[99s-extend] How to send multiple messages in response to one message from Cowboy +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#49">[ date ]</a> + <a href="thread.html#49">[ thread ]</a> + <a href="subject.html#49">[ subject ]</a> + <a href="author.html#49">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Hi, + +I see that with websocket_info/3 I can prompt Cowboy to send a message +to a connected client by sending a "system message". + +How can I send multiple reply messages to a client which has sent a request? + +Is the way to do that by calling websocket_info/3 directly (multiple +times) from within my websocket_handle call? + +Cheers, + +JohnK + +</PRE> + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000048.html">[99s-extend] Big body via REST +</A></li> + <LI>Next message: <A HREF="000050.html">[99s-extend] How to send multiple messages in response to one message from Cowboy +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#49">[ date ]</a> + <a href="thread.html#49">[ thread ]</a> + <a href="subject.html#49">[ subject ]</a> + <a href="author.html#49">[ 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/archives/extend/2013-February/000050.html b/archives/extend/2013-February/000050.html new file mode 100644 index 00000000..23828af8 --- /dev/null +++ b/archives/extend/2013-February/000050.html @@ -0,0 +1,100 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] How to send multiple messages in response to one message from Cowboy + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20How%20to%20send%20multiple%20messages%20in%20response%20to%20one%0A%20message%20from%20Cowboy&In-Reply-To=%3C5115453C.1040808%40jkemp.net%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="000049.html"> + <LINK REL="Next" HREF="000051.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] How to send multiple messages in response to one message from Cowboy</H1> + <B>John Kemp</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20How%20to%20send%20multiple%20messages%20in%20response%20to%20one%0A%20message%20from%20Cowboy&In-Reply-To=%3C5115453C.1040808%40jkemp.net%3E" + TITLE="[99s-extend] How to send multiple messages in response to one message from Cowboy">john at jkemp.net + </A><BR> + <I>Fri Feb 8 19:34:36 CET 2013</I> + <P><UL> + <LI>Previous message: <A HREF="000049.html">[99s-extend] How to send multiple messages in response to one message from Cowboy +</A></li> + <LI>Next message: <A HREF="000051.html">[99s-extend] Cowboy questions +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#50">[ date ]</a> + <a href="thread.html#50">[ thread ]</a> + <a href="subject.html#50">[ subject ]</a> + <a href="author.html#50">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Answering my own question - multiple messages can be sent in reply by +including a list of 'reply' tuples in the websocket_handle response. I +found this by looking at cowboy_websocket_handler.erl in the source tree. + +-callback websocket_handle({text | binary | ping | pong, binary()}, Req, +State) + -> {ok, Req, State} + | {ok, Req, State, hibernate} + + | {reply, cowboy_websocket:frame() | [cowboy_websocket:frame()], Req, +State} + | {reply, cowboy_websocket:frame() | [cowboy_websocket:frame()], Req, +State, hibernate} + + | {shutdown, Req, State} + when Req::cowboy_req:req(), State::state(). + +JohnK + +On 02/08/2013 08:08 AM, John Kemp wrote: +><i> Hi, +</I>><i> +</I>><i> I see that with websocket_info/3 I can prompt Cowboy to send a message +</I>><i> to a connected client by sending a "system message". +</I>><i> +</I>><i> How can I send multiple reply messages to a client which has sent a +</I>><i> request? +</I>><i> +</I>><i> Is the way to do that by calling websocket_info/3 directly (multiple +</I>><i> times) from within my websocket_handle call? +</I>><i> +</I>><i> Cheers, +</I>><i> +</I>><i> JohnK +</I>><i> _______________________________________________ +</I>><i> Extend mailing list +</I>><i> <A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A> +</I>><i> <A HREF="http://lists.ninenines.eu:81/listinfo/extend">http://lists.ninenines.eu:81/listinfo/extend</A> +</I> + +</PRE> + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000049.html">[99s-extend] How to send multiple messages in response to one message from Cowboy +</A></li> + <LI>Next message: <A HREF="000051.html">[99s-extend] Cowboy questions +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#50">[ date ]</a> + <a href="thread.html#50">[ thread ]</a> + <a href="subject.html#50">[ subject ]</a> + <a href="author.html#50">[ 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/archives/extend/2013-February/000051.html b/archives/extend/2013-February/000051.html new file mode 100644 index 00000000..01827233 --- /dev/null +++ b/archives/extend/2013-February/000051.html @@ -0,0 +1,72 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] Cowboy questions + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Cowboy%20questions&In-Reply-To=%3C64B371DF-D6AA-4105-954E-C22EBA61EDFC%40kivra.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="000050.html"> + <LINK REL="Next" HREF="000052.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] Cowboy questions</H1> + <B>Bip Thelin</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Cowboy%20questions&In-Reply-To=%3C64B371DF-D6AA-4105-954E-C22EBA61EDFC%40kivra.com%3E" + TITLE="[99s-extend] Cowboy questions">bip at kivra.com + </A><BR> + <I>Sun Feb 10 20:12:27 CET 2013</I> + <P><UL> + <LI>Previous message: <A HREF="000050.html">[99s-extend] How to send multiple messages in response to one message from Cowboy +</A></li> + <LI>Next message: <A HREF="000052.html">[99s-extend] [ANN] Cowboy 0.8.0 +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#51">[ date ]</a> + <a href="thread.html#51">[ thread ]</a> + <a href="subject.html#51">[ subject ]</a> + <a href="author.html#51">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Hi, + + I'm playing around with a middleware and request/responsehooks. A couple of questions that have surfaced: +* Say I map a module to "/my/path[...]" and then curl "/my/path/even/more/stuff". Is there a way to retrieve the "rest" of the matched path, i.e. like cowboy_req:path_info/1 but just the rest, not the total path. The result I want is: [<<"even">>, <<"more">>, <<"stuff">>]. +* I've been trying to use a responsehook to ensure that a default content-type is set if none is specified. Been trying with cowboy_req:reply, coboy_req:set_resp_headers, etc. It doesn't seem to work that well. What's the preferred way? + +Regards, +-Bip Thelin + +-------------- next part -------------- +An HTML attachment was scrubbed... +URL: <<A HREF="http://lists.ninenines.eu/archives/extend/attachments/20130210/1b9560c2/attachment.html">http://lists.ninenines.eu/archives/extend/attachments/20130210/1b9560c2/attachment.html</A>> +</PRE> + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000050.html">[99s-extend] How to send multiple messages in response to one message from Cowboy +</A></li> + <LI>Next message: <A HREF="000052.html">[99s-extend] [ANN] Cowboy 0.8.0 +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#51">[ date ]</a> + <a href="thread.html#51">[ thread ]</a> + <a href="subject.html#51">[ subject ]</a> + <a href="author.html#51">[ 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/archives/extend/2013-February/000052.html b/archives/extend/2013-February/000052.html new file mode 100644 index 00000000..c2171e9a --- /dev/null +++ b/archives/extend/2013-February/000052.html @@ -0,0 +1,119 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] [ANN] Cowboy 0.8.0 + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20%5BANN%5D%20Cowboy%200.8.0&In-Reply-To=%3C511A7D8C.5050107%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="000051.html"> + <LINK REL="Next" HREF="000053.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] [ANN] Cowboy 0.8.0</H1> + <B>Loïc Hoguin</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20%5BANN%5D%20Cowboy%200.8.0&In-Reply-To=%3C511A7D8C.5050107%40ninenines.eu%3E" + TITLE="[99s-extend] [ANN] Cowboy 0.8.0">essen at ninenines.eu + </A><BR> + <I>Tue Feb 12 18:36:12 CET 2013</I> + <P><UL> + <LI>Previous message: <A HREF="000051.html">[99s-extend] Cowboy questions +</A></li> + <LI>Next message: <A HREF="000053.html">[99s-extend] [ANN] Cowboy 0.8.0 +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#52">[ date ]</a> + <a href="thread.html#52">[ thread ]</a> + <a href="subject.html#52">[ subject ]</a> + <a href="author.html#52">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Hello there! + +Cowboy 0.8 has been released. Cowboy is a small, fast and modular HTTP, +REST and Websocket server. + + <A HREF="https://github.com/extend/cowboy/">https://github.com/extend/cowboy/</A> + +The number of contributors who helped make this release considerably +increased. Cowboy is available thanks to the code contributions from 50 +users, double from the last release where 25 contributed. + +The number of users has also greatly increased. Cowboy is being used in +ad bidding, set-top boxes, live TV events, content streaming services, +and many more exciting areas. + +This new version has many highlights. You can take a look at the +changelog for detailed information about the many changes. + + <A HREF="https://github.com/extend/cowboy/blob/master/CHANGELOG.md">https://github.com/extend/cowboy/blob/master/CHANGELOG.md</A> + +Cowboy scalability has been greatly improved in this version. This has +been observed many times in production, including in the AdGear Tracker +project (<A HREF="http://ferd.ca/rtb-where-erlang-blooms.html">http://ferd.ca/rtb-where-erlang-blooms.html</A>) where updated +nodes were able to handle 2 times more requests compared to older nodes. +This improvement cannot be observed in "hello world" types of +benchmarks. An article will soon be published to explain the reasons for +this. + +Cowboy now features a brand new user guide. It is still a work in +progress, so please open a ticket on Github if something is missing or +incorrect. + + <A HREF="http://ninenines.eu/docs/en/cowboy/HEAD/guide/introduction">http://ninenines.eu/docs/en/cowboy/HEAD/guide/introduction</A> + +Remaining work before 1.0 include REST improvements and SPDY support. +The rest of the API should now be very close to stable. + +I am looking for a good writer who would like to co-author a Cowboy +book. The book will be accessible to people who don't know Erlang but +will also contain everything there is to know about Cowboy, making it +suitable for both beginners and experts. Contact me if you are interested. + +I now take donations in addition to commercial support options, to allow +individual users to help the project stay alive and kicking. + + <A HREF="http://ninenines.eu/support">http://ninenines.eu/support</A> + +Hope you enjoy it. As always, please send me as much feedback as +possible to help me improve things even more, preferrably through Github +tickets if it's related to code or documentation. + +Thanks for reading. + +-- +Loïc Hoguin +Erlang Cowboy +Nine Nines +<A HREF="http://ninenines.eu">http://ninenines.eu</A> + +</PRE> + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000051.html">[99s-extend] Cowboy questions +</A></li> + <LI>Next message: <A HREF="000053.html">[99s-extend] [ANN] Cowboy 0.8.0 +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#52">[ date ]</a> + <a href="thread.html#52">[ thread ]</a> + <a href="subject.html#52">[ subject ]</a> + <a href="author.html#52">[ 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/archives/extend/2013-February/000053.html b/archives/extend/2013-February/000053.html new file mode 100644 index 00000000..d8c5ac05 --- /dev/null +++ b/archives/extend/2013-February/000053.html @@ -0,0 +1,131 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] [ANN] Cowboy 0.8.0 + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20%5BANN%5D%20Cowboy%200.8.0&In-Reply-To=%3CCAKD1GY5BkoTPtZrPhsp7hoWvXPKfqLX4-SKHzs6ecZ12KrRJMA%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="000052.html"> + <LINK REL="Next" HREF="000054.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] [ANN] Cowboy 0.8.0</H1> + <B>Jeremy Ong</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20%5BANN%5D%20Cowboy%200.8.0&In-Reply-To=%3CCAKD1GY5BkoTPtZrPhsp7hoWvXPKfqLX4-SKHzs6ecZ12KrRJMA%40mail.gmail.com%3E" + TITLE="[99s-extend] [ANN] Cowboy 0.8.0">jeremy at quarkgames.com + </A><BR> + <I>Tue Feb 12 18:37:18 CET 2013</I> + <P><UL> + <LI>Previous message: <A HREF="000052.html">[99s-extend] [ANN] Cowboy 0.8.0 +</A></li> + <LI>Next message: <A HREF="000054.html">[99s-extend] [erlang-questions] [ANN] Cowboy 0.8.0 +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#53">[ date ]</a> + <a href="thread.html#53">[ thread ]</a> + <a href="subject.html#53">[ subject ]</a> + <a href="author.html#53">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Congrats! + + +On Tue, Feb 12, 2013 at 9:36 AM, Loïc Hoguin <<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>> wrote: + +><i> Hello there! +</I>><i> +</I>><i> Cowboy 0.8 has been released. Cowboy is a small, fast and modular HTTP, +</I>><i> REST and Websocket server. +</I>><i> +</I>><i> <A HREF="https://github.com/extend/**cowboy/">https://github.com/extend/**cowboy/</A> <<A HREF="https://github.com/extend/cowboy/">https://github.com/extend/cowboy/</A>> +</I>><i> +</I>><i> The number of contributors who helped make this release considerably +</I>><i> increased. Cowboy is available thanks to the code contributions from 50 +</I>><i> users, double from the last release where 25 contributed. +</I>><i> +</I>><i> The number of users has also greatly increased. Cowboy is being used in ad +</I>><i> bidding, set-top boxes, live TV events, content streaming services, and +</I>><i> many more exciting areas. +</I>><i> +</I>><i> This new version has many highlights. You can take a look at the changelog +</I>><i> for detailed information about the many changes. +</I>><i> +</I>><i> <A HREF="https://github.com/extend/**cowboy/blob/master/CHANGELOG.**md<https://github.com/extend/cowboy/blob/master/CHANGELOG.md">https://github.com/extend/**cowboy/blob/master/CHANGELOG.**md<https://github.com/extend/cowboy/blob/master/CHANGELOG.md</A>> +</I>><i> +</I>><i> Cowboy scalability has been greatly improved in this version. This has +</I>><i> been observed many times in production, including in the AdGear Tracker +</I>><i> project (<A HREF="http://ferd.ca/rtb-where-**erlang-blooms.html<http://ferd.ca/rtb-where-erlang-blooms.html">http://ferd.ca/rtb-where-**erlang-blooms.html<http://ferd.ca/rtb-where-erlang-blooms.html</A>>) +</I>><i> where updated nodes were able to handle 2 times more requests compared to +</I>><i> older nodes. This improvement cannot be observed in "hello world" types of +</I>><i> benchmarks. An article will soon be published to explain the reasons for +</I>><i> this. +</I>><i> +</I>><i> Cowboy now features a brand new user guide. It is still a work in +</I>><i> progress, so please open a ticket on Github if something is missing or +</I>><i> incorrect. +</I>><i> +</I>><i> <A HREF="http://ninenines.eu/docs/en/**cowboy/HEAD/guide/introduction<http://ninenines.eu/docs/en/cowboy/HEAD/guide/introduction">http://ninenines.eu/docs/en/**cowboy/HEAD/guide/introduction<http://ninenines.eu/docs/en/cowboy/HEAD/guide/introduction</A>> +</I>><i> +</I>><i> Remaining work before 1.0 include REST improvements and SPDY support. The +</I>><i> rest of the API should now be very close to stable. +</I>><i> +</I>><i> I am looking for a good writer who would like to co-author a Cowboy book. +</I>><i> The book will be accessible to people who don't know Erlang but will also +</I>><i> contain everything there is to know about Cowboy, making it suitable for +</I>><i> both beginners and experts. Contact me if you are interested. +</I>><i> +</I>><i> I now take donations in addition to commercial support options, to allow +</I>><i> individual users to help the project stay alive and kicking. +</I>><i> +</I>><i> <A HREF="http://ninenines.eu/support">http://ninenines.eu/support</A> +</I>><i> +</I>><i> Hope you enjoy it. As always, please send me as much feedback as possible +</I>><i> to help me improve things even more, preferrably through Github tickets if +</I>><i> it's related to code or documentation. +</I>><i> +</I>><i> Thanks for reading. +</I>><i> +</I>><i> -- +</I>><i> Loïc Hoguin +</I>><i> Erlang Cowboy +</I>><i> Nine Nines +</I>><i> <A HREF="http://ninenines.eu">http://ninenines.eu</A> +</I>><i> ______________________________**_________________ +</I>><i> Extend mailing list +</I>><i> <A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A> +</I>><i> <A HREF="http://lists.ninenines.eu:81/**listinfo/extend<http://lists.ninenines.eu:81/listinfo/extend">http://lists.ninenines.eu:81/**listinfo/extend<http://lists.ninenines.eu:81/listinfo/extend</A>> +</I>><i> +</I>-------------- next part -------------- +An HTML attachment was scrubbed... +URL: <<A HREF="http://lists.ninenines.eu/archives/extend/attachments/20130212/09008370/attachment.html">http://lists.ninenines.eu/archives/extend/attachments/20130212/09008370/attachment.html</A>> +</PRE> + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000052.html">[99s-extend] [ANN] Cowboy 0.8.0 +</A></li> + <LI>Next message: <A HREF="000054.html">[99s-extend] [erlang-questions] [ANN] Cowboy 0.8.0 +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#53">[ date ]</a> + <a href="thread.html#53">[ thread ]</a> + <a href="subject.html#53">[ subject ]</a> + <a href="author.html#53">[ 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/archives/extend/2013-February/000054.html b/archives/extend/2013-February/000054.html new file mode 100644 index 00000000..29525584 --- /dev/null +++ b/archives/extend/2013-February/000054.html @@ -0,0 +1,68 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] [erlang-questions] [ANN] Cowboy 0.8.0 + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20%5Berlang-questions%5D%20%20%5BANN%5D%20Cowboy%200.8.0&In-Reply-To=%3CCAMxVRxAREhN_WmD-__STe_VG6hS_RNoy9VAN0TwwHG9wJ1AYEg%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="000053.html"> + <LINK REL="Next" HREF="000056.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] [erlang-questions] [ANN] Cowboy 0.8.0</H1> + <B>Max Lapshin</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20%5Berlang-questions%5D%20%20%5BANN%5D%20Cowboy%200.8.0&In-Reply-To=%3CCAMxVRxAREhN_WmD-__STe_VG6hS_RNoy9VAN0TwwHG9wJ1AYEg%40mail.gmail.com%3E" + TITLE="[99s-extend] [erlang-questions] [ANN] Cowboy 0.8.0">max.lapshin at gmail.com + </A><BR> + <I>Tue Feb 12 18:44:28 CET 2013</I> + <P><UL> + <LI>Previous message: <A HREF="000053.html">[99s-extend] [ANN] Cowboy 0.8.0 +</A></li> + <LI>Next message: <A HREF="000056.html">[99s-extend] [erlang-questions] [ANN] Cowboy 0.8.0 +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#54">[ date ]</a> + <a href="thread.html#54">[ thread ]</a> + <a href="subject.html#54">[ subject ]</a> + <a href="author.html#54">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Great, Loic. + +As I've told already, it would be great to listen to your experience about +issues that you meet on high loads: smooth scaling, predictionable +behaviour of server, etc. +-------------- next part -------------- +An HTML attachment was scrubbed... +URL: <<A HREF="http://lists.ninenines.eu/archives/extend/attachments/20130212/dc0291b4/attachment.html">http://lists.ninenines.eu/archives/extend/attachments/20130212/dc0291b4/attachment.html</A>> +</PRE> + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000053.html">[99s-extend] [ANN] Cowboy 0.8.0 +</A></li> + <LI>Next message: <A HREF="000056.html">[99s-extend] [erlang-questions] [ANN] Cowboy 0.8.0 +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#54">[ date ]</a> + <a href="thread.html#54">[ thread ]</a> + <a href="subject.html#54">[ subject ]</a> + <a href="author.html#54">[ 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/archives/extend/2013-February/000055.html b/archives/extend/2013-February/000055.html new file mode 100644 index 00000000..9d3e7817 --- /dev/null +++ b/archives/extend/2013-February/000055.html @@ -0,0 +1,71 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] Cowboy REST Logic + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Cowboy%20REST%20Logic&In-Reply-To=%3CCD41053B.266D%25christopher.phillips%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="000056.html"> + <LINK REL="Next" HREF="000057.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] Cowboy REST Logic</H1> + <B>Phillips, Christopher</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Cowboy%20REST%20Logic&In-Reply-To=%3CCD41053B.266D%25christopher.phillips%40turner.com%3E" + TITLE="[99s-extend] Cowboy REST Logic">Christopher.Phillips at turner.com + </A><BR> + <I>Wed Feb 13 14:52:10 CET 2013</I> + <P><UL> + <LI>Previous message: <A HREF="000056.html">[99s-extend] [erlang-questions] [ANN] Cowboy 0.8.0 +</A></li> + <LI>Next message: <A HREF="000057.html">[99s-extend] Cowboy REST Logic +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#55">[ date ]</a> + <a href="thread.html#55">[ thread ]</a> + <a href="subject.html#55">[ subject ]</a> + <a href="author.html#55">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE> + In 6.1, and still in 8.0, there is some logic that surprised me, and I wanted to see if it was intentional, or if I'm missing something. + + If I set up a POST such that it's a create, I get back a 303, rather than a 201, on successful create. This came as a bit of a surprise; I know from Webmachine, if it's a new resource being created, a POST will return a 201 (N11 to P11 in Webmachine's v3 diagram). + + Is this intentional? The logic seems to be post_is_create/2 -> create_path/2 -> put_resource/3 -> choose_content_type/5 -> next/3 -> respond(_, _, 303). It may be that this is a better response, rather than a 201 with the location header, but it came as a surprise given web machine's behavior. + + For background, I'm attempting to migrate some web machine code to Cowboy, which is serving a RESTful API to a Javascript client. The client is making CORS calls. Receiving a 303 and a Location header seemed to mean that the call was redirected before the client side code ever saw it (not sure what the browser was doing; I was expecting another request, but I wasn't quite lucid enough to check for that last night when working on it); a 201 allows me to examine the location. +-------------- next part -------------- +An HTML attachment was scrubbed... +URL: <<A HREF="http://lists.ninenines.eu/archives/extend/attachments/20130213/a992c0b6/attachment.html">http://lists.ninenines.eu/archives/extend/attachments/20130213/a992c0b6/attachment.html</A>> +</PRE> + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000056.html">[99s-extend] [erlang-questions] [ANN] Cowboy 0.8.0 +</A></li> + <LI>Next message: <A HREF="000057.html">[99s-extend] Cowboy REST Logic +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#55">[ date ]</a> + <a href="thread.html#55">[ thread ]</a> + <a href="subject.html#55">[ subject ]</a> + <a href="author.html#55">[ 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/archives/extend/2013-February/000056.html b/archives/extend/2013-February/000056.html new file mode 100644 index 00000000..1a6087c9 --- /dev/null +++ b/archives/extend/2013-February/000056.html @@ -0,0 +1,131 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] [erlang-questions] [ANN] Cowboy 0.8.0 + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20%5Berlang-questions%5D%20%5BANN%5D%20Cowboy%200.8.0&In-Reply-To=%3CCAPTXyXd9BYynUj5Tp8Mmk7uL8VEByQHSwJZ_20Q-gkZEz%3DJ%3DKg%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="000054.html"> + <LINK REL="Next" HREF="000055.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] [erlang-questions] [ANN] Cowboy 0.8.0</H1> + <B>Jesse Gumm</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20%5Berlang-questions%5D%20%5BANN%5D%20Cowboy%200.8.0&In-Reply-To=%3CCAPTXyXd9BYynUj5Tp8Mmk7uL8VEByQHSwJZ_20Q-gkZEz%3DJ%3DKg%40mail.gmail.com%3E" + TITLE="[99s-extend] [erlang-questions] [ANN] Cowboy 0.8.0">gumm at sigma-star.com + </A><BR> + <I>Wed Feb 13 14:46:07 CET 2013</I> + <P><UL> + <LI>Previous message: <A HREF="000054.html">[99s-extend] [erlang-questions] [ANN] Cowboy 0.8.0 +</A></li> + <LI>Next message: <A HREF="000055.html">[99s-extend] Cowboy REST Logic +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#56">[ date ]</a> + <a href="thread.html#56">[ thread ]</a> + <a href="subject.html#56">[ subject ]</a> + <a href="author.html#56">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Great news! + +Congrats! +On Feb 12, 2013 11:36 AM, "Loïc Hoguin" <<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>> wrote: + +><i> Hello there! +</I>><i> +</I>><i> Cowboy 0.8 has been released. Cowboy is a small, fast and modular HTTP, +</I>><i> REST and Websocket server. +</I>><i> +</I>><i> <A HREF="https://github.com/extend/**cowboy/">https://github.com/extend/**cowboy/</A> <<A HREF="https://github.com/extend/cowboy/">https://github.com/extend/cowboy/</A>> +</I>><i> +</I>><i> The number of contributors who helped make this release considerably +</I>><i> increased. Cowboy is available thanks to the code contributions from 50 +</I>><i> users, double from the last release where 25 contributed. +</I>><i> +</I>><i> The number of users has also greatly increased. Cowboy is being used in ad +</I>><i> bidding, set-top boxes, live TV events, content streaming services, and +</I>><i> many more exciting areas. +</I>><i> +</I>><i> This new version has many highlights. You can take a look at the changelog +</I>><i> for detailed information about the many changes. +</I>><i> +</I>><i> <A HREF="https://github.com/extend/**cowboy/blob/master/CHANGELOG.**md<https://github.com/extend/cowboy/blob/master/CHANGELOG.md">https://github.com/extend/**cowboy/blob/master/CHANGELOG.**md<https://github.com/extend/cowboy/blob/master/CHANGELOG.md</A>> +</I>><i> +</I>><i> Cowboy scalability has been greatly improved in this version. This has +</I>><i> been observed many times in production, including in the AdGear Tracker +</I>><i> project (<A HREF="http://ferd.ca/rtb-where-**erlang-blooms.html<http://ferd.ca/rtb-where-erlang-blooms.html">http://ferd.ca/rtb-where-**erlang-blooms.html<http://ferd.ca/rtb-where-erlang-blooms.html</A>>) +</I>><i> where updated nodes were able to handle 2 times more requests compared to +</I>><i> older nodes. This improvement cannot be observed in "hello world" types of +</I>><i> benchmarks. An article will soon be published to explain the reasons for +</I>><i> this. +</I>><i> +</I>><i> Cowboy now features a brand new user guide. It is still a work in +</I>><i> progress, so please open a ticket on Github if something is missing or +</I>><i> incorrect. +</I>><i> +</I>><i> <A HREF="http://ninenines.eu/docs/en/**cowboy/HEAD/guide/introduction<http://ninenines.eu/docs/en/cowboy/HEAD/guide/introduction">http://ninenines.eu/docs/en/**cowboy/HEAD/guide/introduction<http://ninenines.eu/docs/en/cowboy/HEAD/guide/introduction</A>> +</I>><i> +</I>><i> Remaining work before 1.0 include REST improvements and SPDY support. The +</I>><i> rest of the API should now be very close to stable. +</I>><i> +</I>><i> I am looking for a good writer who would like to co-author a Cowboy book. +</I>><i> The book will be accessible to people who don't know Erlang but will also +</I>><i> contain everything there is to know about Cowboy, making it suitable for +</I>><i> both beginners and experts. Contact me if you are interested. +</I>><i> +</I>><i> I now take donations in addition to commercial support options, to allow +</I>><i> individual users to help the project stay alive and kicking. +</I>><i> +</I>><i> <A HREF="http://ninenines.eu/support">http://ninenines.eu/support</A> +</I>><i> +</I>><i> Hope you enjoy it. As always, please send me as much feedback as possible +</I>><i> to help me improve things even more, preferrably through Github tickets if +</I>><i> it's related to code or documentation. +</I>><i> +</I>><i> Thanks for reading. +</I>><i> +</I>><i> -- +</I>><i> Loïc Hoguin +</I>><i> Erlang Cowboy +</I>><i> Nine Nines +</I>><i> <A HREF="http://ninenines.eu">http://ninenines.eu</A> +</I>><i> ______________________________**_________________ +</I>><i> erlang-questions mailing list +</I>><i> <A HREF="https://lists.ninenines.eu/listinfo/extend">erlang-questions at erlang.org</A> +</I>><i> <A HREF="http://erlang.org/mailman/**listinfo/erlang-questions<http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/**listinfo/erlang-questions<http://erlang.org/mailman/listinfo/erlang-questions</A>> +</I>><i> +</I>-------------- next part -------------- +An HTML attachment was scrubbed... +URL: <<A HREF="http://lists.ninenines.eu/archives/extend/attachments/20130213/41b12a6d/attachment.html">http://lists.ninenines.eu/archives/extend/attachments/20130213/41b12a6d/attachment.html</A>> +</PRE> + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000054.html">[99s-extend] [erlang-questions] [ANN] Cowboy 0.8.0 +</A></li> + <LI>Next message: <A HREF="000055.html">[99s-extend] Cowboy REST Logic +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#56">[ date ]</a> + <a href="thread.html#56">[ thread ]</a> + <a href="subject.html#56">[ subject ]</a> + <a href="author.html#56">[ 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/archives/extend/2013-February/000057.html b/archives/extend/2013-February/000057.html new file mode 100644 index 00000000..9a7004d5 --- /dev/null +++ b/archives/extend/2013-February/000057.html @@ -0,0 +1,95 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] Cowboy REST Logic + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Cowboy%20REST%20Logic&In-Reply-To=%3C511BB29E.3090705%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="000055.html"> + <LINK REL="Next" HREF="000058.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] Cowboy REST Logic</H1> + <B>Loïc Hoguin</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Cowboy%20REST%20Logic&In-Reply-To=%3C511BB29E.3090705%40ninenines.eu%3E" + TITLE="[99s-extend] Cowboy REST Logic">essen at ninenines.eu + </A><BR> + <I>Wed Feb 13 16:34:54 CET 2013</I> + <P><UL> + <LI>Previous message: <A HREF="000055.html">[99s-extend] Cowboy REST Logic +</A></li> + <LI>Next message: <A HREF="000058.html">[99s-extend] Cowboy REST Logic +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#57">[ date ]</a> + <a href="thread.html#57">[ thread ]</a> + <a href="subject.html#57">[ subject ]</a> + <a href="author.html#57">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>On 02/13/2013 02:52 PM, Phillips, Christopher wrote: +><i> +</I>><i> In 6.1, and still in 8.0, there is some logic that surprised me, and +</I>><i> I wanted to see if it was intentional, or if I'm missing something. +</I>><i> +</I>><i> If I set up a POST such that it's a create, I get back a 303, rather +</I>><i> than a 201, on successful create. This came as a bit of a surprise; I +</I>><i> know from Webmachine, if it's a new resource being created, a POST will +</I>><i> return a 201 (N11 to P11 in Webmachine's v3 diagram). +</I>><i> +</I>><i> Is this intentional? The logic seems to be post_is_create/2 -> +</I>><i> create_path/2 -> put_resource/3 -> choose_content_type/5 -> next/3 -> +</I>><i> respond(_, _, 303). It may be that this is a better response, rather +</I>><i> than a 201 with the location header, but it came as a surprise given web +</I>><i> machine's behavior. +</I> +This difference is probably not intentional. Please open a ticket. :) + +><i> For background, I'm attempting to migrate some web machine code to +</I>><i> Cowboy, which is serving a RESTful API to a Javascript client. The +</I>><i> client is making CORS calls. Receiving a 303 and a Location header +</I>><i> seemed to mean that the call was redirected before the client side code +</I>><i> ever saw it (not sure what the browser was doing; I was expecting +</I>><i> another request, but I wasn't quite lucid enough to check for that last +</I>><i> night when working on it); a 201 allows me to examine the location. +</I> +Would be interested to know more about your CORS implementation, that's +something I would like to have in the guide. + +-- +Loïc Hoguin +Erlang Cowboy +Nine Nines +<A HREF="http://ninenines.eu">http://ninenines.eu</A> + +</PRE> + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000055.html">[99s-extend] Cowboy REST Logic +</A></li> + <LI>Next message: <A HREF="000058.html">[99s-extend] Cowboy REST Logic +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#57">[ date ]</a> + <a href="thread.html#57">[ thread ]</a> + <a href="subject.html#57">[ subject ]</a> + <a href="author.html#57">[ 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/archives/extend/2013-February/000058.html b/archives/extend/2013-February/000058.html new file mode 100644 index 00000000..2f44c8c7 --- /dev/null +++ b/archives/extend/2013-February/000058.html @@ -0,0 +1,137 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] Cowboy REST Logic + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Cowboy%20REST%20Logic&In-Reply-To=%3CCD411D79.2699%25christopher.phillips%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="000057.html"> + <LINK REL="Next" HREF="000059.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] Cowboy REST Logic</H1> + <B>Phillips, Christopher</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Cowboy%20REST%20Logic&In-Reply-To=%3CCD411D79.2699%25christopher.phillips%40turner.com%3E" + TITLE="[99s-extend] Cowboy REST Logic">Christopher.Phillips at turner.com + </A><BR> + <I>Wed Feb 13 17:01:27 CET 2013</I> + <P><UL> + <LI>Previous message: <A HREF="000057.html">[99s-extend] Cowboy REST Logic +</A></li> + <LI>Next message: <A HREF="000059.html">[99s-extend] [ANN] Bullet 0.4.0 +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#58">[ date ]</a> + <a href="thread.html#58">[ thread ]</a> + <a href="subject.html#58">[ subject ]</a> + <a href="author.html#58">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE> Will do. I actually like the 303 due to a bug in Firefox with examining +headers, but 201 seems like the canonical approach. + + CORS is actually pretty easy to open up fully, and the more restrictive +you want to be the harder it gets. We're not using credentials, and we +haven't tightened the domain to just those we expect, either, but it +basically amounts to adding the following to options/2 for the pre-flight - + + * Access-Control-Allow-Origin (with the origins we want to allow; * for +anything), + * Access-Control-Allow-Headers (which we're setting to the same as the +client requests for convenience's sake) + *Access-Control-Expose-Headers (for any headers beyond content-type that +the client wants access to; we have Location for the 201 mentioned above. + + +And the following to any request being passed back, as seems reasonable - + + * Access-Control-Allow-Origin as in options + * Access-Control-Expose-Headers as in options + + + I'm appending them in resource_exists/2 because I know that will be hit +by everything. If your logic is more complex (you want to allow PUTs from +site1, but deletes from site2, etc), you'll need to break that apart a bit +and conditionally check origin. We're relying on a firewall to protect +against direct calls from external servers, and we'll be tightening the +allowed domains and looking into validating the session with a token to +prevent CSRFs (as CORS means any existing CSRF vuln becomes a bit more +severe). + + +I suspect there's some redundancy there; we have a future story for +tightening things up, but in terms of just opening it up and getting +things working, that¹s all that I had to do. + + +On 2/13/13 10:34 AM, "Loïc Hoguin" <<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>> wrote: + +><i>On 02/13/2013 02:52 PM, Phillips, Christopher wrote: +</I>>><i> +</I>>><i> In 6.1, and still in 8.0, there is some logic that surprised me, and +</I>>><i> I wanted to see if it was intentional, or if I'm missing something. +</I>>><i> +</I>>><i> If I set up a POST such that it's a create, I get back a 303, rather +</I>>><i> than a 201, on successful create. This came as a bit of a surprise; I +</I>>><i> know from Webmachine, if it's a new resource being created, a POST will +</I>>><i> return a 201 (N11 to P11 in Webmachine's v3 diagram). +</I>>><i> +</I>>><i> Is this intentional? The logic seems to be post_is_create/2 -> +</I>>><i> create_path/2 -> put_resource/3 -> choose_content_type/5 -> next/3 -> +</I>>><i> respond(_, _, 303). It may be that this is a better response, rather +</I>>><i> than a 201 with the location header, but it came as a surprise given web +</I>>><i> machine's behavior. +</I>><i> +</I>><i>This difference is probably not intentional. Please open a ticket. :) +</I>><i> +</I>>><i> For background, I'm attempting to migrate some web machine code to +</I>>><i> Cowboy, which is serving a RESTful API to a Javascript client. The +</I>>><i> client is making CORS calls. Receiving a 303 and a Location header +</I>>><i> seemed to mean that the call was redirected before the client side code +</I>>><i> ever saw it (not sure what the browser was doing; I was expecting +</I>>><i> another request, but I wasn't quite lucid enough to check for that last +</I>>><i> night when working on it); a 201 allows me to examine the location. +</I>><i> +</I>><i>Would be interested to know more about your CORS implementation, that's +</I>><i>something I would like to have in the guide. +</I>><i> +</I>><i>-- +</I>><i>Loïc Hoguin +</I>><i>Erlang Cowboy +</I>><i>Nine Nines +</I>><i><A HREF="http://ninenines.eu">http://ninenines.eu</A> +</I>><i> +</I> + + +</PRE> + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000057.html">[99s-extend] Cowboy REST Logic +</A></li> + <LI>Next message: <A HREF="000059.html">[99s-extend] [ANN] Bullet 0.4.0 +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#58">[ date ]</a> + <a href="thread.html#58">[ thread ]</a> + <a href="subject.html#58">[ subject ]</a> + <a href="author.html#58">[ 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/archives/extend/2013-February/000059.html b/archives/extend/2013-February/000059.html new file mode 100644 index 00000000..edd489c4 --- /dev/null +++ b/archives/extend/2013-February/000059.html @@ -0,0 +1,77 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] [ANN] Bullet 0.4.0 + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20%5BANN%5D%20Bullet%200.4.0&In-Reply-To=%3C511D10E3.3090000%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="000058.html"> + <LINK REL="Next" HREF="000060.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] [ANN] Bullet 0.4.0</H1> + <B>Loïc Hoguin</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20%5BANN%5D%20Bullet%200.4.0&In-Reply-To=%3C511D10E3.3090000%40ninenines.eu%3E" + TITLE="[99s-extend] [ANN] Bullet 0.4.0">essen at ninenines.eu + </A><BR> + <I>Thu Feb 14 17:29:23 CET 2013</I> + <P><UL> + <LI>Previous message: <A HREF="000058.html">[99s-extend] Cowboy REST Logic +</A></li> + <LI>Next message: <A HREF="000060.html">[99s-extend] sub_description is not a valid app configuration option +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#59">[ date ]</a> + <a href="thread.html#59">[ thread ]</a> + <a href="subject.html#59">[ subject ]</a> + <a href="author.html#59">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Quick announcement: Bullet 0.4.0 has been released. This version is +compatible with newly released Cowboy 0.8.0. + + <A HREF="https://github.com/extend/bullet">https://github.com/extend/bullet</A> + +Bullet is a simple and efficient Websocket alternative especially useful +when you need an always connected socket to the server. It uses +Websocket internally when it's available. + +Enjoy! + +-- +Loïc Hoguin +Erlang Cowboy +Nine Nines +<A HREF="http://ninenines.eu">http://ninenines.eu</A> + +</PRE> + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000058.html">[99s-extend] Cowboy REST Logic +</A></li> + <LI>Next message: <A HREF="000060.html">[99s-extend] sub_description is not a valid app configuration option +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#59">[ date ]</a> + <a href="thread.html#59">[ thread ]</a> + <a href="subject.html#59">[ subject ]</a> + <a href="author.html#59">[ 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/archives/extend/2013-February/000060.html b/archives/extend/2013-February/000060.html new file mode 100644 index 00000000..0e16e401 --- /dev/null +++ b/archives/extend/2013-February/000060.html @@ -0,0 +1,74 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] sub_description is not a valid app configuration option + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20sub_description%20is%20not%20a%20valid%20app%20configuration%20option&In-Reply-To=%3C5122505A.7010801%40gjunka.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="000059.html"> + <LINK REL="Next" HREF="000061.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] sub_description is not a valid app configuration option</H1> + <B>Grzegorz Junka</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20sub_description%20is%20not%20a%20valid%20app%20configuration%20option&In-Reply-To=%3C5122505A.7010801%40gjunka.com%3E" + TITLE="[99s-extend] sub_description is not a valid app configuration option">list1 at gjunka.com + </A><BR> + <I>Mon Feb 18 17:01:30 CET 2013</I> + <P><UL> + <LI>Previous message: <A HREF="000059.html">[99s-extend] [ANN] Bullet 0.4.0 +</A></li> + <LI>Next message: <A HREF="000061.html">[99s-extend] [ANN] Bullet 0.4.1 +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#60">[ date ]</a> + <a href="thread.html#60">[ thread ]</a> + <a href="subject.html#60">[ subject ]</a> + <a href="author.html#60">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Hi, +I am trying to compile a release with some applications for which ranch +and cowboy are dependencies. This is what I am getting on the console: + +reltool: Unexpected item sub_description in app file +"/usr/home/somepath/deps/ranch/ebin/ranch.app". +reltool: Unexpected item sub_description in app file +"/usr/home/somepath/deps/cowboy/ebin/cowboy.app". + +When looking it up on Erlang documentation it seems that sub_description +is not a valid configuration options in the .app file. Is there any +chance to put it rather as a comment? + + +</PRE> + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000059.html">[99s-extend] [ANN] Bullet 0.4.0 +</A></li> + <LI>Next message: <A HREF="000061.html">[99s-extend] [ANN] Bullet 0.4.1 +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#60">[ date ]</a> + <a href="thread.html#60">[ thread ]</a> + <a href="subject.html#60">[ subject ]</a> + <a href="author.html#60">[ 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/archives/extend/2013-February/000061.html b/archives/extend/2013-February/000061.html new file mode 100644 index 00000000..c737d54e --- /dev/null +++ b/archives/extend/2013-February/000061.html @@ -0,0 +1,70 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] [ANN] Bullet 0.4.1 + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20%5BANN%5D%20Bullet%200.4.1&In-Reply-To=%3C51251CD7.2010107%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="000060.html"> + <LINK REL="Next" HREF="000062.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] [ANN] Bullet 0.4.1</H1> + <B>Loïc Hoguin</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20%5BANN%5D%20Bullet%200.4.1&In-Reply-To=%3C51251CD7.2010107%40ninenines.eu%3E" + TITLE="[99s-extend] [ANN] Bullet 0.4.1">essen at ninenines.eu + </A><BR> + <I>Wed Feb 20 19:58:31 CET 2013</I> + <P><UL> + <LI>Previous message: <A HREF="000060.html">[99s-extend] sub_description is not a valid app configuration option +</A></li> + <LI>Next message: <A HREF="000062.html">[99s-extend] Arbitrary 500 from REST handler? +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#61">[ date ]</a> + <a href="thread.html#61">[ thread ]</a> + <a href="subject.html#61">[ subject ]</a> + <a href="author.html#61">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Version update to fix a bug that broke POST with non-Websocket transports. + +Enjoy! + +-- +Loïc Hoguin +Erlang Cowboy +Nine Nines +<A HREF="http://ninenines.eu">http://ninenines.eu</A> + +</PRE> + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000060.html">[99s-extend] sub_description is not a valid app configuration option +</A></li> + <LI>Next message: <A HREF="000062.html">[99s-extend] Arbitrary 500 from REST handler? +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#61">[ date ]</a> + <a href="thread.html#61">[ thread ]</a> + <a href="subject.html#61">[ subject ]</a> + <a href="author.html#61">[ 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/archives/extend/2013-February/000062.html b/archives/extend/2013-February/000062.html new file mode 100644 index 00000000..077c5e97 --- /dev/null +++ b/archives/extend/2013-February/000062.html @@ -0,0 +1,65 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] Arbitrary 500 from REST handler? + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Arbitrary%20500%20from%20REST%20handler%3F&In-Reply-To=%3CCD4BDFCE.2D43%25christopher.phillips%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="000061.html"> + <LINK REL="Next" HREF="000063.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] Arbitrary 500 from REST handler?</H1> + <B>Phillips, Christopher</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Arbitrary%20500%20from%20REST%20handler%3F&In-Reply-To=%3CCD4BDFCE.2D43%25christopher.phillips%40turner.com%3E" + TITLE="[99s-extend] Arbitrary 500 from REST handler?">Christopher.Phillips at turner.com + </A><BR> + <I>Thu Feb 21 20:29:36 CET 2013</I> + <P><UL> + <LI>Previous message: <A HREF="000061.html">[99s-extend] [ANN] Bullet 0.4.1 +</A></li> + <LI>Next message: <A HREF="000063.html">[99s-extend] Arbitrary 500 from REST handler? +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#62">[ date ]</a> + <a href="thread.html#62">[ thread ]</a> + <a href="subject.html#62">[ subject ]</a> + <a href="author.html#62">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE> + I have a case where I am creating a resource through a POST. There are a number of places where the create can fail in a known manner, and we need to alert the user to the specifics of why. Is there a way to throw an arbitrary 500, with message, from within the REST handler? I can obviously just erlang:error(whatever), but the message content is ignored, and there is no way to pass back an updated response when doing that. +-------------- next part -------------- +An HTML attachment was scrubbed... +URL: <<A HREF="http://lists.ninenines.eu/archives/extend/attachments/20130221/fc119c69/attachment.html">http://lists.ninenines.eu/archives/extend/attachments/20130221/fc119c69/attachment.html</A>> +</PRE> + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000061.html">[99s-extend] [ANN] Bullet 0.4.1 +</A></li> + <LI>Next message: <A HREF="000063.html">[99s-extend] Arbitrary 500 from REST handler? +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#62">[ date ]</a> + <a href="thread.html#62">[ thread ]</a> + <a href="subject.html#62">[ subject ]</a> + <a href="author.html#62">[ 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/archives/extend/2013-February/000063.html b/archives/extend/2013-February/000063.html new file mode 100644 index 00000000..bfebf6d7 --- /dev/null +++ b/archives/extend/2013-February/000063.html @@ -0,0 +1,78 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] Arbitrary 500 from REST handler? + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Arbitrary%20500%20from%20REST%20handler%3F&In-Reply-To=%3C512677BB.6030004%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="000062.html"> + <LINK REL="Next" HREF="000064.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] Arbitrary 500 from REST handler?</H1> + <B>Loïc Hoguin</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Arbitrary%20500%20from%20REST%20handler%3F&In-Reply-To=%3C512677BB.6030004%40ninenines.eu%3E" + TITLE="[99s-extend] Arbitrary 500 from REST handler?">essen at ninenines.eu + </A><BR> + <I>Thu Feb 21 20:38:35 CET 2013</I> + <P><UL> + <LI>Previous message: <A HREF="000062.html">[99s-extend] Arbitrary 500 from REST handler? +</A></li> + <LI>Next message: <A HREF="000064.html">[99s-extend] Cowboy 0.8.1 +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#63">[ date ]</a> + <a href="thread.html#63">[ thread ]</a> + <a href="subject.html#63">[ subject ]</a> + <a href="author.html#63">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>On 02/21/2013 08:29 PM, Phillips, Christopher wrote: +><i> +</I>><i> I have a case where I am creating a resource through a POST. There +</I>><i> are a number of places where the create can fail in a known manner, and +</I>><i> we need to alert the user to the specifics of why. Is there a way to +</I>><i> throw an arbitrary 500, with message, from within the REST handler? I +</I>><i> can obviously just erlang:error(whatever), but the message content is +</I>><i> ignored, and there is no way to pass back an updated response when doing +</I>><i> that. +</I> +Use cowboy_req:reply and then return {halt, Req2, State} to stop execution. + +-- +Loïc Hoguin +Erlang Cowboy +Nine Nines +<A HREF="http://ninenines.eu">http://ninenines.eu</A> + +</PRE> + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000062.html">[99s-extend] Arbitrary 500 from REST handler? +</A></li> + <LI>Next message: <A HREF="000064.html">[99s-extend] Cowboy 0.8.1 +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#63">[ date ]</a> + <a href="thread.html#63">[ thread ]</a> + <a href="subject.html#63">[ subject ]</a> + <a href="author.html#63">[ 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/archives/extend/2013-February/000064.html b/archives/extend/2013-February/000064.html new file mode 100644 index 00000000..89b3839d --- /dev/null +++ b/archives/extend/2013-February/000064.html @@ -0,0 +1,78 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] Cowboy 0.8.1 + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Cowboy%200.8.1&In-Reply-To=%3C512783B6.4060403%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="000063.html"> + <LINK REL="Next" HREF="000065.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] Cowboy 0.8.1</H1> + <B>Loïc Hoguin</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Cowboy%200.8.1&In-Reply-To=%3C512783B6.4060403%40ninenines.eu%3E" + TITLE="[99s-extend] Cowboy 0.8.1">essen at ninenines.eu + </A><BR> + <I>Fri Feb 22 15:41:58 CET 2013</I> + <P><UL> + <LI>Previous message: <A HREF="000063.html">[99s-extend] Arbitrary 500 from REST handler? +</A></li> + <LI>Next message: <A HREF="000065.html">[99s-extend] Directory traversal vulnerability on Windows platform +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#64">[ date ]</a> + <a href="thread.html#64">[ thread ]</a> + <a href="subject.html#64">[ subject ]</a> + <a href="author.html#64">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Just tagged Cowboy 0.8.1. + + <A HREF="https://github.com/extend/cowboy/">https://github.com/extend/cowboy/</A> + +Please see the CHANGELOG.md file. + +I am hoping to tag a new minor version every couple weeks now that the +bigger API changes have been done. + +Next version should have the remaining REST API changes, bringing it +much closer to being stable, with only additions planned subsequently. + +-- +Loïc Hoguin +Erlang Cowboy +Nine Nines +<A HREF="http://ninenines.eu">http://ninenines.eu</A> + +</PRE> + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000063.html">[99s-extend] Arbitrary 500 from REST handler? +</A></li> + <LI>Next message: <A HREF="000065.html">[99s-extend] Directory traversal vulnerability on Windows platform +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#64">[ date ]</a> + <a href="thread.html#64">[ thread ]</a> + <a href="subject.html#64">[ subject ]</a> + <a href="author.html#64">[ 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/archives/extend/2013-February/000065.html b/archives/extend/2013-February/000065.html new file mode 100644 index 00000000..8747e30f --- /dev/null +++ b/archives/extend/2013-February/000065.html @@ -0,0 +1,119 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] Directory traversal vulnerability on Windows platform + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Directory%20traversal%20vulnerability%20on%20Windows%20platform&In-Reply-To=%3C5128E5CF.5010106%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="000064.html"> + + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] Directory traversal vulnerability on Windows platform</H1> + <B>Loïc Hoguin</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Directory%20traversal%20vulnerability%20on%20Windows%20platform&In-Reply-To=%3C5128E5CF.5010106%40ninenines.eu%3E" + TITLE="[99s-extend] Directory traversal vulnerability on Windows platform">essen at ninenines.eu + </A><BR> + <I>Sat Feb 23 16:52:47 CET 2013</I> + <P><UL> + <LI>Previous message: <A HREF="000064.html">[99s-extend] Cowboy 0.8.1 +</A></li> + + <LI> <B>Messages sorted by:</B> + <a href="date.html#65">[ date ]</a> + <a href="thread.html#65">[ thread ]</a> + <a href="subject.html#65">[ subject ]</a> + <a href="author.html#65">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>A directory traversal vulnerability affecting all Windows platforms has +been discovered. Please follow these instructions to find out if you are +affected. Please take immediate action if you are. + +### Am I affected? + +You are if you match all of the following requirements: + + * You run Cowboy in production on the Windows platform + * You make use of `cowboy_static` (or `cowboy_http_static` in older +versions) + +### How serious is it? + +This vulnerability allows an attacker to request any file from your +system (only limited by the access rights of the user running the Erlang +VM). The attacker cannot list files through this vulnerability. This +however does not reduce the seriousness of this vulnerability as an +attacker can always use brute force or any other method to try to find +files on your system. + +### How can I fix it? + +No patch is currently available. + +You should temporarily switch to using IIS or any other web server for +serving the static files, or use a CDN instead. + +### How can I make sure this will not happen again? + +A fully cross-platform fix will be pushed to Cowboy in the coming days. + +This issue exists essentially because Windows isn't a supported platform +and we do not have the resources or knowledge to make the Windows +experience safe and smooth. + +If you are a Windows user, you can ensure that kind of issue does not +happen again by becoming a regular contributor and making sure the team +is aware of any potential issue that may arise on Windows. + +### Why disclose? + +Essentially for three reasons: + + * Considering the known user base, a very low number of people might +be hit by this issue + * A temporary fix is readily available + * Community help is needed to ensure a proper fix gets merged + +The following ticket can be used for tracking this issue: + + <A HREF="https://github.com/extend/cowboy/issues/447">https://github.com/extend/cowboy/issues/447</A> + +Please ping this ticket if you are affected. Ignore if you are not. Thanks. + +-- +Loïc Hoguin +Erlang Cowboy +Nine Nines +<A HREF="http://ninenines.eu">http://ninenines.eu</A> + +</PRE> + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000064.html">[99s-extend] Cowboy 0.8.1 +</A></li> + + <LI> <B>Messages sorted by:</B> + <a href="date.html#65">[ date ]</a> + <a href="thread.html#65">[ thread ]</a> + <a href="subject.html#65">[ subject ]</a> + <a href="author.html#65">[ 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/archives/extend/2013-February/author.html b/archives/extend/2013-February/author.html new file mode 100644 index 00000000..a21788bd --- /dev/null +++ b/archives/extend/2013-February/author.html @@ -0,0 +1,162 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <title>The Extend February 2013 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>February 2013 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 Feb 4 21:10:21 CET 2013</i><br> + <b>Ending:</b> <i>Sat Feb 23 16:52:47 CET 2013</i><br> + <b>Messages:</b> 23<p> + <ul> + +<LI><A HREF="000056.html">[99s-extend] [erlang-questions] [ANN] Cowboy 0.8.0 +</A><A NAME="56"> </A> +<I>Jesse Gumm +</I> + +<LI><A HREF="000045.html">[99s-extend] Cowboy Makefile +</A><A NAME="45"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000047.html">[99s-extend] Big body via REST +</A><A NAME="47"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000052.html">[99s-extend] [ANN] Cowboy 0.8.0 +</A><A NAME="52"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000057.html">[99s-extend] Cowboy REST Logic +</A><A NAME="57"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000059.html">[99s-extend] [ANN] Bullet 0.4.0 +</A><A NAME="59"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000061.html">[99s-extend] [ANN] Bullet 0.4.1 +</A><A NAME="61"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000063.html">[99s-extend] Arbitrary 500 from REST handler? +</A><A NAME="63"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000064.html">[99s-extend] Cowboy 0.8.1 +</A><A NAME="64"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000065.html">[99s-extend] Directory traversal vulnerability on Windows platform +</A><A NAME="65"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000044.html">[99s-extend] Cowboy Makefile +</A><A NAME="44"> </A> +<I>Grzegorz Junka +</I> + +<LI><A HREF="000060.html">[99s-extend] sub_description is not a valid app configuration option +</A><A NAME="60"> </A> +<I>Grzegorz Junka +</I> + +<LI><A HREF="000049.html">[99s-extend] How to send multiple messages in response to one message from Cowboy +</A><A NAME="49"> </A> +<I>John Kemp +</I> + +<LI><A HREF="000050.html">[99s-extend] How to send multiple messages in response to one message from Cowboy +</A><A NAME="50"> </A> +<I>John Kemp +</I> + +<LI><A HREF="000054.html">[99s-extend] [erlang-questions] [ANN] Cowboy 0.8.0 +</A><A NAME="54"> </A> +<I>Max Lapshin +</I> + +<LI><A HREF="000043.html">[99s-extend] Cowboy Makefile +</A><A NAME="43"> </A> +<I>Jeremy Ong +</I> + +<LI><A HREF="000053.html">[99s-extend] [ANN] Cowboy 0.8.0 +</A><A NAME="53"> </A> +<I>Jeremy Ong +</I> + +<LI><A HREF="000055.html">[99s-extend] Cowboy REST Logic +</A><A NAME="55"> </A> +<I>Phillips, Christopher +</I> + +<LI><A HREF="000058.html">[99s-extend] Cowboy REST Logic +</A><A NAME="58"> </A> +<I>Phillips, Christopher +</I> + +<LI><A HREF="000062.html">[99s-extend] Arbitrary 500 from REST handler? +</A><A NAME="62"> </A> +<I>Phillips, Christopher +</I> + +<LI><A HREF="000051.html">[99s-extend] Cowboy questions +</A><A NAME="51"> </A> +<I>Bip Thelin +</I> + +<LI><A HREF="000046.html">[99s-extend] Big body via REST +</A><A NAME="46"> </A> +<I>Sergey Yelin +</I> + +<LI><A HREF="000048.html">[99s-extend] Big body via REST +</A><A NAME="48"> </A> +<I>Sergey Yelin +</I> + + </ul> + <p> + <a name="end"><b>Last message date:</b></a> + <i>Sat Feb 23 16:52:47 CET 2013</i><br> + <b>Archived on:</b> <i>Wed May 28 18:41:42 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/archives/extend/2013-February/date.html b/archives/extend/2013-February/date.html new file mode 100644 index 00000000..07cd4de8 --- /dev/null +++ b/archives/extend/2013-February/date.html @@ -0,0 +1,162 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <title>The Extend February 2013 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>February 2013 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 Feb 4 21:10:21 CET 2013</i><br> + <b>Ending:</b> <i>Sat Feb 23 16:52:47 CET 2013</i><br> + <b>Messages:</b> 23<p> + <ul> + +<LI><A HREF="000043.html">[99s-extend] Cowboy Makefile +</A><A NAME="43"> </A> +<I>Jeremy Ong +</I> + +<LI><A HREF="000044.html">[99s-extend] Cowboy Makefile +</A><A NAME="44"> </A> +<I>Grzegorz Junka +</I> + +<LI><A HREF="000045.html">[99s-extend] Cowboy Makefile +</A><A NAME="45"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000046.html">[99s-extend] Big body via REST +</A><A NAME="46"> </A> +<I>Sergey Yelin +</I> + +<LI><A HREF="000047.html">[99s-extend] Big body via REST +</A><A NAME="47"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000048.html">[99s-extend] Big body via REST +</A><A NAME="48"> </A> +<I>Sergey Yelin +</I> + +<LI><A HREF="000049.html">[99s-extend] How to send multiple messages in response to one message from Cowboy +</A><A NAME="49"> </A> +<I>John Kemp +</I> + +<LI><A HREF="000050.html">[99s-extend] How to send multiple messages in response to one message from Cowboy +</A><A NAME="50"> </A> +<I>John Kemp +</I> + +<LI><A HREF="000051.html">[99s-extend] Cowboy questions +</A><A NAME="51"> </A> +<I>Bip Thelin +</I> + +<LI><A HREF="000052.html">[99s-extend] [ANN] Cowboy 0.8.0 +</A><A NAME="52"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000053.html">[99s-extend] [ANN] Cowboy 0.8.0 +</A><A NAME="53"> </A> +<I>Jeremy Ong +</I> + +<LI><A HREF="000054.html">[99s-extend] [erlang-questions] [ANN] Cowboy 0.8.0 +</A><A NAME="54"> </A> +<I>Max Lapshin +</I> + +<LI><A HREF="000056.html">[99s-extend] [erlang-questions] [ANN] Cowboy 0.8.0 +</A><A NAME="56"> </A> +<I>Jesse Gumm +</I> + +<LI><A HREF="000055.html">[99s-extend] Cowboy REST Logic +</A><A NAME="55"> </A> +<I>Phillips, Christopher +</I> + +<LI><A HREF="000057.html">[99s-extend] Cowboy REST Logic +</A><A NAME="57"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000058.html">[99s-extend] Cowboy REST Logic +</A><A NAME="58"> </A> +<I>Phillips, Christopher +</I> + +<LI><A HREF="000059.html">[99s-extend] [ANN] Bullet 0.4.0 +</A><A NAME="59"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000060.html">[99s-extend] sub_description is not a valid app configuration option +</A><A NAME="60"> </A> +<I>Grzegorz Junka +</I> + +<LI><A HREF="000061.html">[99s-extend] [ANN] Bullet 0.4.1 +</A><A NAME="61"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000062.html">[99s-extend] Arbitrary 500 from REST handler? +</A><A NAME="62"> </A> +<I>Phillips, Christopher +</I> + +<LI><A HREF="000063.html">[99s-extend] Arbitrary 500 from REST handler? +</A><A NAME="63"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000064.html">[99s-extend] Cowboy 0.8.1 +</A><A NAME="64"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000065.html">[99s-extend] Directory traversal vulnerability on Windows platform +</A><A NAME="65"> </A> +<I>Loïc Hoguin +</I> + + </ul> + <p> + <a name="end"><b>Last message date:</b></a> + <i>Sat Feb 23 16:52:47 CET 2013</i><br> + <b>Archived on:</b> <i>Wed May 28 18:41:42 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/archives/extend/2013-February/index.html b/archives/extend/2013-February/index.html new file mode 100644 index 00000000..4dc2b5dd --- /dev/null +++ b/archives/extend/2013-February/index.html @@ -0,0 +1,205 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <title>The Extend February 2013 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>February 2013 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 Feb 4 21:10:21 CET 2013</i><br> + <b>Ending:</b> <i>Sat Feb 23 16:52:47 CET 2013</i><br> + <b>Messages:</b> 23<p> + <ul> + +<!--0 01360008621.43- --> +<LI><A HREF="000043.html">[99s-extend] Cowboy Makefile +</A><A NAME="43"> </A> +<I>Jeremy Ong +</I> + +<UL> +<!--1 01360008621.43-01360014614.44- --> +<LI><A HREF="000044.html">[99s-extend] Cowboy Makefile +</A><A NAME="44"> </A> +<I>Grzegorz Junka +</I> + +<UL> +<!--2 01360008621.43-01360014614.44-01360015119.45- --> +<LI><A HREF="000045.html">[99s-extend] Cowboy Makefile +</A><A NAME="45"> </A> +<I>Loïc Hoguin +</I> + +</UL> +</UL> +<!--0 01360231445.46- --> +<LI><A HREF="000046.html">[99s-extend] Big body via REST +</A><A NAME="46"> </A> +<I>Sergey Yelin +</I> + +<UL> +<!--1 01360231445.46-01360248063.47- --> +<LI><A HREF="000047.html">[99s-extend] Big body via REST +</A><A NAME="47"> </A> +<I>Loïc Hoguin +</I> + +<UL> +<!--2 01360231445.46-01360248063.47-01360248391.48- --> +<LI><A HREF="000048.html">[99s-extend] Big body via REST +</A><A NAME="48"> </A> +<I>Sergey Yelin +</I> + +</UL> +</UL> +<!--0 01360328904.49- --> +<LI><A HREF="000049.html">[99s-extend] How to send multiple messages in response to one message from Cowboy +</A><A NAME="49"> </A> +<I>John Kemp +</I> + +<UL> +<!--1 01360328904.49-01360348476.50- --> +<LI><A HREF="000050.html">[99s-extend] How to send multiple messages in response to one message from Cowboy +</A><A NAME="50"> </A> +<I>John Kemp +</I> + +</UL> +<!--0 01360523547.51- --> +<LI><A HREF="000051.html">[99s-extend] Cowboy questions +</A><A NAME="51"> </A> +<I>Bip Thelin +</I> + +<!--0 01360690572.52- --> +<LI><A HREF="000052.html">[99s-extend] [ANN] Cowboy 0.8.0 +</A><A NAME="52"> </A> +<I>Loïc Hoguin +</I> + +<UL> +<!--1 01360690572.52-01360690638.53- --> +<LI><A HREF="000053.html">[99s-extend] [ANN] Cowboy 0.8.0 +</A><A NAME="53"> </A> +<I>Jeremy Ong +</I> + +<UL> +<!--2 01360690572.52-01360690638.53-01360691068.54- --> +<LI><A HREF="000054.html">[99s-extend] [erlang-questions] [ANN] Cowboy 0.8.0 +</A><A NAME="54"> </A> +<I>Max Lapshin +</I> + +</UL> +<!--1 01360690572.52-01360763167.56- --> +<LI><A HREF="000056.html">[99s-extend] [erlang-questions] [ANN] Cowboy 0.8.0 +</A><A NAME="56"> </A> +<I>Jesse Gumm +</I> + +</UL> +<!--0 01360763530.55- --> +<LI><A HREF="000055.html">[99s-extend] Cowboy REST Logic +</A><A NAME="55"> </A> +<I>Phillips, Christopher +</I> + +<UL> +<!--1 01360763530.55-01360769694.57- --> +<LI><A HREF="000057.html">[99s-extend] Cowboy REST Logic +</A><A NAME="57"> </A> +<I>Loïc Hoguin +</I> + +<UL> +<!--2 01360763530.55-01360769694.57-01360771287.58- --> +<LI><A HREF="000058.html">[99s-extend] Cowboy REST Logic +</A><A NAME="58"> </A> +<I>Phillips, Christopher +</I> + +</UL> +</UL> +<!--0 01360859363.59- --> +<LI><A HREF="000059.html">[99s-extend] [ANN] Bullet 0.4.0 +</A><A NAME="59"> </A> +<I>Loïc Hoguin +</I> + +<!--0 01361203290.60- --> +<LI><A HREF="000060.html">[99s-extend] sub_description is not a valid app configuration option +</A><A NAME="60"> </A> +<I>Grzegorz Junka +</I> + +<!--0 01361386711.61- --> +<LI><A HREF="000061.html">[99s-extend] [ANN] Bullet 0.4.1 +</A><A NAME="61"> </A> +<I>Loïc Hoguin +</I> + +<!--0 01361474976.62- --> +<LI><A HREF="000062.html">[99s-extend] Arbitrary 500 from REST handler? +</A><A NAME="62"> </A> +<I>Phillips, Christopher +</I> + +<UL> +<!--1 01361474976.62-01361475515.63- --> +<LI><A HREF="000063.html">[99s-extend] Arbitrary 500 from REST handler? +</A><A NAME="63"> </A> +<I>Loïc Hoguin +</I> + +</UL> +<!--0 01361544118.64- --> +<LI><A HREF="000064.html">[99s-extend] Cowboy 0.8.1 +</A><A NAME="64"> </A> +<I>Loïc Hoguin +</I> + +<!--0 01361634767.65- --> +<LI><A HREF="000065.html">[99s-extend] Directory traversal vulnerability on Windows platform +</A><A NAME="65"> </A> +<I>Loïc Hoguin +</I> + + </ul> + <p> + <a name="end"><b>Last message date:</b></a> + <i>Sat Feb 23 16:52:47 CET 2013</i><br> + <b>Archived on:</b> <i>Wed May 28 18:41:42 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> + diff --git a/archives/extend/2013-February/subject.html b/archives/extend/2013-February/subject.html new file mode 100644 index 00000000..3402dfab --- /dev/null +++ b/archives/extend/2013-February/subject.html @@ -0,0 +1,162 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <title>The Extend February 2013 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>February 2013 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 Feb 4 21:10:21 CET 2013</i><br> + <b>Ending:</b> <i>Sat Feb 23 16:52:47 CET 2013</i><br> + <b>Messages:</b> 23<p> + <ul> + +<LI><A HREF="000059.html">[99s-extend] [ANN] Bullet 0.4.0 +</A><A NAME="59"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000061.html">[99s-extend] [ANN] Bullet 0.4.1 +</A><A NAME="61"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000052.html">[99s-extend] [ANN] Cowboy 0.8.0 +</A><A NAME="52"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000053.html">[99s-extend] [ANN] Cowboy 0.8.0 +</A><A NAME="53"> </A> +<I>Jeremy Ong +</I> + +<LI><A HREF="000054.html">[99s-extend] [erlang-questions] [ANN] Cowboy 0.8.0 +</A><A NAME="54"> </A> +<I>Max Lapshin +</I> + +<LI><A HREF="000056.html">[99s-extend] [erlang-questions] [ANN] Cowboy 0.8.0 +</A><A NAME="56"> </A> +<I>Jesse Gumm +</I> + +<LI><A HREF="000062.html">[99s-extend] Arbitrary 500 from REST handler? +</A><A NAME="62"> </A> +<I>Phillips, Christopher +</I> + +<LI><A HREF="000063.html">[99s-extend] Arbitrary 500 from REST handler? +</A><A NAME="63"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000046.html">[99s-extend] Big body via REST +</A><A NAME="46"> </A> +<I>Sergey Yelin +</I> + +<LI><A HREF="000047.html">[99s-extend] Big body via REST +</A><A NAME="47"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000048.html">[99s-extend] Big body via REST +</A><A NAME="48"> </A> +<I>Sergey Yelin +</I> + +<LI><A HREF="000064.html">[99s-extend] Cowboy 0.8.1 +</A><A NAME="64"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000043.html">[99s-extend] Cowboy Makefile +</A><A NAME="43"> </A> +<I>Jeremy Ong +</I> + +<LI><A HREF="000044.html">[99s-extend] Cowboy Makefile +</A><A NAME="44"> </A> +<I>Grzegorz Junka +</I> + +<LI><A HREF="000045.html">[99s-extend] Cowboy Makefile +</A><A NAME="45"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000051.html">[99s-extend] Cowboy questions +</A><A NAME="51"> </A> +<I>Bip Thelin +</I> + +<LI><A HREF="000055.html">[99s-extend] Cowboy REST Logic +</A><A NAME="55"> </A> +<I>Phillips, Christopher +</I> + +<LI><A HREF="000057.html">[99s-extend] Cowboy REST Logic +</A><A NAME="57"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000058.html">[99s-extend] Cowboy REST Logic +</A><A NAME="58"> </A> +<I>Phillips, Christopher +</I> + +<LI><A HREF="000065.html">[99s-extend] Directory traversal vulnerability on Windows platform +</A><A NAME="65"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000049.html">[99s-extend] How to send multiple messages in response to one message from Cowboy +</A><A NAME="49"> </A> +<I>John Kemp +</I> + +<LI><A HREF="000050.html">[99s-extend] How to send multiple messages in response to one message from Cowboy +</A><A NAME="50"> </A> +<I>John Kemp +</I> + +<LI><A HREF="000060.html">[99s-extend] sub_description is not a valid app configuration option +</A><A NAME="60"> </A> +<I>Grzegorz Junka +</I> + + </ul> + <p> + <a name="end"><b>Last message date:</b></a> + <i>Sat Feb 23 16:52:47 CET 2013</i><br> + <b>Archived on:</b> <i>Wed May 28 18:41:42 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/archives/extend/2013-February/thread.html b/archives/extend/2013-February/thread.html new file mode 100644 index 00000000..4dc2b5dd --- /dev/null +++ b/archives/extend/2013-February/thread.html @@ -0,0 +1,205 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <title>The Extend February 2013 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>February 2013 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 Feb 4 21:10:21 CET 2013</i><br> + <b>Ending:</b> <i>Sat Feb 23 16:52:47 CET 2013</i><br> + <b>Messages:</b> 23<p> + <ul> + +<!--0 01360008621.43- --> +<LI><A HREF="000043.html">[99s-extend] Cowboy Makefile +</A><A NAME="43"> </A> +<I>Jeremy Ong +</I> + +<UL> +<!--1 01360008621.43-01360014614.44- --> +<LI><A HREF="000044.html">[99s-extend] Cowboy Makefile +</A><A NAME="44"> </A> +<I>Grzegorz Junka +</I> + +<UL> +<!--2 01360008621.43-01360014614.44-01360015119.45- --> +<LI><A HREF="000045.html">[99s-extend] Cowboy Makefile +</A><A NAME="45"> </A> +<I>Loïc Hoguin +</I> + +</UL> +</UL> +<!--0 01360231445.46- --> +<LI><A HREF="000046.html">[99s-extend] Big body via REST +</A><A NAME="46"> </A> +<I>Sergey Yelin +</I> + +<UL> +<!--1 01360231445.46-01360248063.47- --> +<LI><A HREF="000047.html">[99s-extend] Big body via REST +</A><A NAME="47"> </A> +<I>Loïc Hoguin +</I> + +<UL> +<!--2 01360231445.46-01360248063.47-01360248391.48- --> +<LI><A HREF="000048.html">[99s-extend] Big body via REST +</A><A NAME="48"> </A> +<I>Sergey Yelin +</I> + +</UL> +</UL> +<!--0 01360328904.49- --> +<LI><A HREF="000049.html">[99s-extend] How to send multiple messages in response to one message from Cowboy +</A><A NAME="49"> </A> +<I>John Kemp +</I> + +<UL> +<!--1 01360328904.49-01360348476.50- --> +<LI><A HREF="000050.html">[99s-extend] How to send multiple messages in response to one message from Cowboy +</A><A NAME="50"> </A> +<I>John Kemp +</I> + +</UL> +<!--0 01360523547.51- --> +<LI><A HREF="000051.html">[99s-extend] Cowboy questions +</A><A NAME="51"> </A> +<I>Bip Thelin +</I> + +<!--0 01360690572.52- --> +<LI><A HREF="000052.html">[99s-extend] [ANN] Cowboy 0.8.0 +</A><A NAME="52"> </A> +<I>Loïc Hoguin +</I> + +<UL> +<!--1 01360690572.52-01360690638.53- --> +<LI><A HREF="000053.html">[99s-extend] [ANN] Cowboy 0.8.0 +</A><A NAME="53"> </A> +<I>Jeremy Ong +</I> + +<UL> +<!--2 01360690572.52-01360690638.53-01360691068.54- --> +<LI><A HREF="000054.html">[99s-extend] [erlang-questions] [ANN] Cowboy 0.8.0 +</A><A NAME="54"> </A> +<I>Max Lapshin +</I> + +</UL> +<!--1 01360690572.52-01360763167.56- --> +<LI><A HREF="000056.html">[99s-extend] [erlang-questions] [ANN] Cowboy 0.8.0 +</A><A NAME="56"> </A> +<I>Jesse Gumm +</I> + +</UL> +<!--0 01360763530.55- --> +<LI><A HREF="000055.html">[99s-extend] Cowboy REST Logic +</A><A NAME="55"> </A> +<I>Phillips, Christopher +</I> + +<UL> +<!--1 01360763530.55-01360769694.57- --> +<LI><A HREF="000057.html">[99s-extend] Cowboy REST Logic +</A><A NAME="57"> </A> +<I>Loïc Hoguin +</I> + +<UL> +<!--2 01360763530.55-01360769694.57-01360771287.58- --> +<LI><A HREF="000058.html">[99s-extend] Cowboy REST Logic +</A><A NAME="58"> </A> +<I>Phillips, Christopher +</I> + +</UL> +</UL> +<!--0 01360859363.59- --> +<LI><A HREF="000059.html">[99s-extend] [ANN] Bullet 0.4.0 +</A><A NAME="59"> </A> +<I>Loïc Hoguin +</I> + +<!--0 01361203290.60- --> +<LI><A HREF="000060.html">[99s-extend] sub_description is not a valid app configuration option +</A><A NAME="60"> </A> +<I>Grzegorz Junka +</I> + +<!--0 01361386711.61- --> +<LI><A HREF="000061.html">[99s-extend] [ANN] Bullet 0.4.1 +</A><A NAME="61"> </A> +<I>Loïc Hoguin +</I> + +<!--0 01361474976.62- --> +<LI><A HREF="000062.html">[99s-extend] Arbitrary 500 from REST handler? +</A><A NAME="62"> </A> +<I>Phillips, Christopher +</I> + +<UL> +<!--1 01361474976.62-01361475515.63- --> +<LI><A HREF="000063.html">[99s-extend] Arbitrary 500 from REST handler? +</A><A NAME="63"> </A> +<I>Loïc Hoguin +</I> + +</UL> +<!--0 01361544118.64- --> +<LI><A HREF="000064.html">[99s-extend] Cowboy 0.8.1 +</A><A NAME="64"> </A> +<I>Loïc Hoguin +</I> + +<!--0 01361634767.65- --> +<LI><A HREF="000065.html">[99s-extend] Directory traversal vulnerability on Windows platform +</A><A NAME="65"> </A> +<I>Loïc Hoguin +</I> + + </ul> + <p> + <a name="end"><b>Last message date:</b></a> + <i>Sat Feb 23 16:52:47 CET 2013</i><br> + <b>Archived on:</b> <i>Wed May 28 18:41:42 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> + |