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/2014-August | |
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/2014-August')
46 files changed, 6068 insertions, 0 deletions
diff --git a/archives/extend/2014-August/000417.html b/archives/extend/2014-August/000417.html new file mode 100644 index 00000000..591df4e1 --- /dev/null +++ b/archives/extend/2014-August/000417.html @@ -0,0 +1,88 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] ranch dispatch error ver 1.0.0 + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20ranch%20dispatch%20error%20ver%201.0.0&In-Reply-To=%3C923834FE-1A66-44E6-923A-9C15BF16E181%40wanadoo.fr%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="000418.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] ranch dispatch error ver 1.0.0</H1> + <B>Samir Sow</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20ranch%20dispatch%20error%20ver%201.0.0&In-Reply-To=%3C923834FE-1A66-44E6-923A-9C15BF16E181%40wanadoo.fr%3E" + TITLE="[99s-extend] ranch dispatch error ver 1.0.0">samset at wanadoo.fr + </A><BR> + <I>Mon Aug 4 18:39:26 CEST 2014</I> + <P><UL> + + <LI>Next message: <A HREF="000418.html">[99s-extend] ranch dispatch error ver 1.0.0 +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#417">[ date ]</a> + <a href="thread.html#417">[ thread ]</a> + <a href="subject.html#417">[ subject ]</a> + <a href="author.html#417">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Hi, + +I’ve moved a working http server to https. +SSL handshaking is ok but i got the following Ranch error : + +[error] Ranch listener https_mta had connection process started with cowboy_protocol:start_link/4 at <0.601.0> exit with reason: {badarg,[{binary,match,[[<<"com">>,<<"oockit">>,<<"www">>],<<".">>],[]},{cowboy_router,split_host,2,[{file,"src/cowboy_router.erl"},{line,305}]},{cowboy_router,match,3,[{file,"src/cowboy_router.erl"},{line,240}]},{cowboy_router,execute,2,[{file,"src/cowboy_router.erl"},{line,169}]},{cowboy_protocol,execute,4,[{file,"src/cowboy_protocol.erl"},{line,435}]}]} + +call is + +curl --cacert priv/cert/root.crt "<A HREF="https://www.oockit.com:7171/mtagw?">https://www.oockit.com:7171/mtagw?</A> + + +dispatch is + +[{'_', [ + {["/static/[...]"], cowboy_static, [{directory, {priv_dir, ?APP, [<<"static">>]}}, + {mimetypes, {fun mimetypes:path_to_mimes/2, default}}]}, + {"/mtagw", hck_mta, []} + ]}]). + + +Any clue ? + +Thanks + +sincerely + +Samir + +</PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + + <LI>Next message: <A HREF="000418.html">[99s-extend] ranch dispatch error ver 1.0.0 +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#417">[ date ]</a> + <a href="thread.html#417">[ thread ]</a> + <a href="subject.html#417">[ subject ]</a> + <a href="author.html#417">[ 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/2014-August/000418.html b/archives/extend/2014-August/000418.html new file mode 100644 index 00000000..809f37a0 --- /dev/null +++ b/archives/extend/2014-August/000418.html @@ -0,0 +1,105 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] ranch dispatch error ver 1.0.0 + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20ranch%20dispatch%20error%20ver%201.0.0&In-Reply-To=%3C53DFB99C.9060401%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="000417.html"> + <LINK REL="Next" HREF="000419.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] ranch dispatch error ver 1.0.0</H1> + <B>Loïc Hoguin</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20ranch%20dispatch%20error%20ver%201.0.0&In-Reply-To=%3C53DFB99C.9060401%40ninenines.eu%3E" + TITLE="[99s-extend] ranch dispatch error ver 1.0.0">essen at ninenines.eu + </A><BR> + <I>Mon Aug 4 18:49:32 CEST 2014</I> + <P><UL> + <LI>Previous message: <A HREF="000417.html">[99s-extend] ranch dispatch error ver 1.0.0 +</A></li> + <LI>Next message: <A HREF="000419.html">[99s-extend] ranch dispatch error ver 1.0.0 +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#418">[ date ]</a> + <a href="thread.html#418">[ thread ]</a> + <a href="subject.html#418">[ subject ]</a> + <a href="author.html#418">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Surely there's something else that you're not showing there. For some +reason you got a list of segments in the error, and we haven't had that +for a very long time. Do you have an onrequest hook or middleware that +does weird things perhaps? + +On 08/04/2014 06:39 PM, Samir Sow wrote: +><i> Hi, +</I>><i> +</I>><i> I’ve moved a working http server to https. +</I>><i> SSL handshaking is ok but i got the following Ranch error : +</I>><i> +</I>><i> [error] Ranch listener https_mta had connection process started with cowboy_protocol:start_link/4 at <0.601.0> exit with reason: {badarg,[{binary,match,[[<<"com">>,<<"oockit">>,<<"www">>],<<".">>],[]},{cowboy_router,split_host,2,[{file,"src/cowboy_router.erl"},{line,305}]},{cowboy_router,match,3,[{file,"src/cowboy_router.erl"},{line,240}]},{cowboy_router,execute,2,[{file,"src/cowboy_router.erl"},{line,169}]},{cowboy_protocol,execute,4,[{file,"src/cowboy_protocol.erl"},{line,435}]}]} +</I>><i> +</I>><i> call is +</I>><i> +</I>><i> curl --cacert priv/cert/root.crt "<A HREF="https://www.oockit.com:7171/mtagw?">https://www.oockit.com:7171/mtagw?</A> +</I>><i> +</I>><i> +</I>><i> dispatch is +</I>><i> +</I>><i> [{'_', [ +</I>><i> {["/static/[...]"], cowboy_static, [{directory, {priv_dir, ?APP, [<<"static">>]}}, +</I>><i> {mimetypes, {fun mimetypes:path_to_mimes/2, default}}]}, +</I>><i> {"/mtagw", hck_mta, []} +</I>><i> ]}]). +</I>><i> +</I>><i> +</I>><i> Any clue ? +</I>><i> +</I>><i> Thanks +</I>><i> +</I>><i> sincerely +</I>><i> +</I>><i> Samir +</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="https://lists.ninenines.eu/listinfo/extend">https://lists.ninenines.eu/listinfo/extend</A> +</I>><i> +</I> +-- +Loïc Hoguin +<A HREF="http://ninenines.eu">http://ninenines.eu</A> +</PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000417.html">[99s-extend] ranch dispatch error ver 1.0.0 +</A></li> + <LI>Next message: <A HREF="000419.html">[99s-extend] ranch dispatch error ver 1.0.0 +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#418">[ date ]</a> + <a href="thread.html#418">[ thread ]</a> + <a href="subject.html#418">[ subject ]</a> + <a href="author.html#418">[ 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/2014-August/000419.html b/archives/extend/2014-August/000419.html new file mode 100644 index 00000000..5b7554e4 --- /dev/null +++ b/archives/extend/2014-August/000419.html @@ -0,0 +1,114 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] ranch dispatch error ver 1.0.0 + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20ranch%20dispatch%20error%20ver%201.0.0&In-Reply-To=%3C76854630-A55A-4A7D-9CC0-4BA78636AFAA%40wanadoo.fr%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="000418.html"> + <LINK REL="Next" HREF="000420.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] ranch dispatch error ver 1.0.0</H1> + <B>Samir Sow</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20ranch%20dispatch%20error%20ver%201.0.0&In-Reply-To=%3C76854630-A55A-4A7D-9CC0-4BA78636AFAA%40wanadoo.fr%3E" + TITLE="[99s-extend] ranch dispatch error ver 1.0.0">samset at wanadoo.fr + </A><BR> + <I>Mon Aug 4 19:50:36 CEST 2014</I> + <P><UL> + <LI>Previous message: <A HREF="000418.html">[99s-extend] ranch dispatch error ver 1.0.0 +</A></li> + <LI>Next message: <A HREF="000420.html">[99s-extend] ranch dispatch error ver 1.0.0 +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#419">[ date ]</a> + <a href="thread.html#419">[ thread ]</a> + <a href="subject.html#419">[ subject ]</a> + <a href="author.html#419">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>I’m not sure i understand your question. + +I’ve only started a cowboy https server with a handler. +The http version was working fine. + +Sincerely + +Samir + +On 4 août 2014, at 18:49, Loïc Hoguin <<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>> wrote: + +><i> Surely there's something else that you're not showing there. For some reason you got a list of segments in the error, and we haven't had that for a very long time. Do you have an onrequest hook or middleware that does weird things perhaps? +</I>><i> +</I>><i> On 08/04/2014 06:39 PM, Samir Sow wrote: +</I>>><i> Hi, +</I>>><i> +</I>>><i> I’ve moved a working http server to https. +</I>>><i> SSL handshaking is ok but i got the following Ranch error : +</I>>><i> +</I>>><i> [error] Ranch listener https_mta had connection process started with cowboy_protocol:start_link/4 at <0.601.0> exit with reason: {badarg,[{binary,match,[[<<"com">>,<<"oockit">>,<<"www">>],<<".">>],[]},{cowboy_router,split_host,2,[{file,"src/cowboy_router.erl"},{line,305}]},{cowboy_router,match,3,[{file,"src/cowboy_router.erl"},{line,240}]},{cowboy_router,execute,2,[{file,"src/cowboy_router.erl"},{line,169}]},{cowboy_protocol,execute,4,[{file,"src/cowboy_protocol.erl"},{line,435}]}]} +</I>>><i> +</I>>><i> call is +</I>>><i> +</I>>><i> curl --cacert priv/cert/root.crt "<A HREF="https://www.oockit.com:7171/mtagw?">https://www.oockit.com:7171/mtagw?</A> +</I>>><i> +</I>>><i> +</I>>><i> dispatch is +</I>>><i> +</I>>><i> [{'_', [ +</I>>><i> {["/static/[...]"], cowboy_static, [{directory, {priv_dir, ?APP, [<<"static">>]}}, +</I>>><i> {mimetypes, {fun mimetypes:path_to_mimes/2, default}}]}, +</I>>><i> {"/mtagw", hck_mta, []} +</I>>><i> ]}]). +</I>>><i> +</I>>><i> +</I>>><i> Any clue ? +</I>>><i> +</I>>><i> Thanks +</I>>><i> +</I>>><i> sincerely +</I>>><i> +</I>>><i> Samir +</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="https://lists.ninenines.eu/listinfo/extend">https://lists.ninenines.eu/listinfo/extend</A> +</I>>><i> +</I>><i> +</I>><i> -- +</I>><i> Loïc Hoguin +</I>><i> <A HREF="http://ninenines.eu">http://ninenines.eu</A> +</I> +</PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000418.html">[99s-extend] ranch dispatch error ver 1.0.0 +</A></li> + <LI>Next message: <A HREF="000420.html">[99s-extend] ranch dispatch error ver 1.0.0 +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#419">[ date ]</a> + <a href="thread.html#419">[ thread ]</a> + <a href="subject.html#419">[ subject ]</a> + <a href="author.html#419">[ 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/2014-August/000420.html b/archives/extend/2014-August/000420.html new file mode 100644 index 00000000..5f08fd62 --- /dev/null +++ b/archives/extend/2014-August/000420.html @@ -0,0 +1,121 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] ranch dispatch error ver 1.0.0 + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20ranch%20dispatch%20error%20ver%201.0.0&In-Reply-To=%3C53DFCA1D.60001%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="000419.html"> + <LINK REL="Next" HREF="000421.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] ranch dispatch error ver 1.0.0</H1> + <B>Loïc Hoguin</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20ranch%20dispatch%20error%20ver%201.0.0&In-Reply-To=%3C53DFCA1D.60001%40ninenines.eu%3E" + TITLE="[99s-extend] ranch dispatch error ver 1.0.0">essen at ninenines.eu + </A><BR> + <I>Mon Aug 4 19:59:57 CEST 2014</I> + <P><UL> + <LI>Previous message: <A HREF="000419.html">[99s-extend] ranch dispatch error ver 1.0.0 +</A></li> + <LI>Next message: <A HREF="000421.html">[99s-extend] ranch dispatch error ver 1.0.0 +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#420">[ date ]</a> + <a href="thread.html#420">[ thread ]</a> + <a href="subject.html#420">[ subject ]</a> + <a href="author.html#420">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>I'm saying it can't be the only difference. + +On 08/04/2014 07:50 PM, Samir Sow wrote: +><i> I’m not sure i understand your question. +</I>><i> +</I>><i> I’ve only started a cowboy https server with a handler. +</I>><i> The http version was working fine. +</I>><i> +</I>><i> Sincerely +</I>><i> +</I>><i> Samir +</I>><i> +</I>><i> On 4 août 2014, at 18:49, Loïc Hoguin <<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>> wrote: +</I>><i> +</I>>><i> Surely there's something else that you're not showing there. For some reason you got a list of segments in the error, and we haven't had that for a very long time. Do you have an onrequest hook or middleware that does weird things perhaps? +</I>>><i> +</I>>><i> On 08/04/2014 06:39 PM, Samir Sow wrote: +</I>>>><i> Hi, +</I>>>><i> +</I>>>><i> I’ve moved a working http server to https. +</I>>>><i> SSL handshaking is ok but i got the following Ranch error : +</I>>>><i> +</I>>>><i> [error] Ranch listener https_mta had connection process started with cowboy_protocol:start_link/4 at <0.601.0> exit with reason: {badarg,[{binary,match,[[<<"com">>,<<"oockit">>,<<"www">>],<<".">>],[]},{cowboy_router,split_host,2,[{file,"src/cowboy_router.erl"},{line,305}]},{cowboy_router,match,3,[{file,"src/cowboy_router.erl"},{line,240}]},{cowboy_router,execute,2,[{file,"src/cowboy_router.erl"},{line,169}]},{cowboy_protocol,execute,4,[{file,"src/cowboy_protocol.erl"},{line,435}]}]} +</I>>>><i> +</I>>>><i> call is +</I>>>><i> +</I>>>><i> curl --cacert priv/cert/root.crt "<A HREF="https://www.oockit.com:7171/mtagw?">https://www.oockit.com:7171/mtagw?</A> +</I>>>><i> +</I>>>><i> +</I>>>><i> dispatch is +</I>>>><i> +</I>>>><i> [{'_', [ +</I>>>><i> {["/static/[...]"], cowboy_static, [{directory, {priv_dir, ?APP, [<<"static">>]}}, +</I>>>><i> {mimetypes, {fun mimetypes:path_to_mimes/2, default}}]}, +</I>>>><i> {"/mtagw", hck_mta, []} +</I>>>><i> ]}]). +</I>>>><i> +</I>>>><i> +</I>>>><i> Any clue ? +</I>>>><i> +</I>>>><i> Thanks +</I>>>><i> +</I>>>><i> sincerely +</I>>>><i> +</I>>>><i> Samir +</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="https://lists.ninenines.eu/listinfo/extend">https://lists.ninenines.eu/listinfo/extend</A> +</I>>>><i> +</I>>><i> +</I>>><i> -- +</I>>><i> Loïc Hoguin +</I>>><i> <A HREF="http://ninenines.eu">http://ninenines.eu</A> +</I>><i> +</I> +-- +Loïc Hoguin +<A HREF="http://ninenines.eu">http://ninenines.eu</A> +</PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000419.html">[99s-extend] ranch dispatch error ver 1.0.0 +</A></li> + <LI>Next message: <A HREF="000421.html">[99s-extend] ranch dispatch error ver 1.0.0 +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#420">[ date ]</a> + <a href="thread.html#420">[ thread ]</a> + <a href="subject.html#420">[ subject ]</a> + <a href="author.html#420">[ 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/2014-August/000421.html b/archives/extend/2014-August/000421.html new file mode 100644 index 00000000..96719127 --- /dev/null +++ b/archives/extend/2014-August/000421.html @@ -0,0 +1,128 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] ranch dispatch error ver 1.0.0 + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20ranch%20dispatch%20error%20ver%201.0.0&In-Reply-To=%3CCFF6583D-0F8F-4A6D-9376-A24EA6D289CB%40wanadoo.fr%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="000420.html"> + <LINK REL="Next" HREF="000422.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] ranch dispatch error ver 1.0.0</H1> + <B>Samir Sow</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20ranch%20dispatch%20error%20ver%201.0.0&In-Reply-To=%3CCFF6583D-0F8F-4A6D-9376-A24EA6D289CB%40wanadoo.fr%3E" + TITLE="[99s-extend] ranch dispatch error ver 1.0.0">samset at wanadoo.fr + </A><BR> + <I>Mon Aug 4 20:16:06 CEST 2014</I> + <P><UL> + <LI>Previous message: <A HREF="000420.html">[99s-extend] ranch dispatch error ver 1.0.0 +</A></li> + <LI>Next message: <A HREF="000422.html">[99s-extend] ranch dispatch error ver 1.0.0 +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#421">[ date ]</a> + <a href="thread.html#421">[ thread ]</a> + <a href="subject.html#421">[ subject ]</a> + <a href="author.html#421">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>I can assure you it’s the only one :) + +Samir + +On 4 août 2014, at 19:59, Loïc Hoguin <<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>> wrote: + +><i> I'm saying it can't be the only difference. +</I>><i> +</I>><i> On 08/04/2014 07:50 PM, Samir Sow wrote: +</I>>><i> I’m not sure i understand your question. +</I>>><i> +</I>>><i> I’ve only started a cowboy https server with a handler. +</I>>><i> The http version was working fine. +</I>>><i> +</I>>><i> Sincerely +</I>>><i> +</I>>><i> Samir +</I>>><i> +</I>>><i> On 4 août 2014, at 18:49, Loïc Hoguin <<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>> wrote: +</I>>><i> +</I>>>><i> Surely there's something else that you're not showing there. For some reason you got a list of segments in the error, and we haven't had that for a very long time. Do you have an onrequest hook or middleware that does weird things perhaps? +</I>>>><i> +</I>>>><i> On 08/04/2014 06:39 PM, Samir Sow wrote: +</I>>>>><i> Hi, +</I>>>>><i> +</I>>>>><i> I’ve moved a working http server to https. +</I>>>>><i> SSL handshaking is ok but i got the following Ranch error : +</I>>>>><i> +</I>>>>><i> [error] Ranch listener https_mta had connection process started with cowboy_protocol:start_link/4 at <0.601.0> exit with reason: {badarg,[{binary,match,[[<<"com">>,<<"oockit">>,<<"www">>],<<".">>],[]},{cowboy_router,split_host,2,[{file,"src/cowboy_router.erl"},{line,305}]},{cowboy_router,match,3,[{file,"src/cowboy_router.erl"},{line,240}]},{cowboy_router,execute,2,[{file,"src/cowboy_router.erl"},{line,169}]},{cowboy_protocol,execute,4,[{file,"src/cowboy_protocol.erl"},{line,435}]}]} +</I>>>>><i> +</I>>>>><i> call is +</I>>>>><i> +</I>>>>><i> curl --cacert priv/cert/root.crt "<A HREF="https://www.oockit.com:7171/mtagw?">https://www.oockit.com:7171/mtagw?</A> +</I>>>>><i> +</I>>>>><i> +</I>>>>><i> dispatch is +</I>>>>><i> +</I>>>>><i> [{'_', [ +</I>>>>><i> {["/static/[...]"], cowboy_static, [{directory, {priv_dir, ?APP, [<<"static">>]}}, +</I>>>>><i> {mimetypes, {fun mimetypes:path_to_mimes/2, default}}]}, +</I>>>>><i> {"/mtagw", hck_mta, []} +</I>>>>><i> ]}]). +</I>>>>><i> +</I>>>>><i> +</I>>>>><i> Any clue ? +</I>>>>><i> +</I>>>>><i> Thanks +</I>>>>><i> +</I>>>>><i> sincerely +</I>>>>><i> +</I>>>>><i> Samir +</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="https://lists.ninenines.eu/listinfo/extend">https://lists.ninenines.eu/listinfo/extend</A> +</I>>>>><i> +</I>>>><i> +</I>>>><i> -- +</I>>>><i> Loïc Hoguin +</I>>>><i> <A HREF="http://ninenines.eu">http://ninenines.eu</A> +</I>>><i> +</I>><i> +</I>><i> -- +</I>><i> Loïc Hoguin +</I>><i> <A HREF="http://ninenines.eu">http://ninenines.eu</A> +</I> +</PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000420.html">[99s-extend] ranch dispatch error ver 1.0.0 +</A></li> + <LI>Next message: <A HREF="000422.html">[99s-extend] ranch dispatch error ver 1.0.0 +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#421">[ date ]</a> + <a href="thread.html#421">[ thread ]</a> + <a href="subject.html#421">[ subject ]</a> + <a href="author.html#421">[ 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/2014-August/000422.html b/archives/extend/2014-August/000422.html new file mode 100644 index 00000000..e23681d9 --- /dev/null +++ b/archives/extend/2014-August/000422.html @@ -0,0 +1,137 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] ranch dispatch error ver 1.0.0 + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20ranch%20dispatch%20error%20ver%201.0.0&In-Reply-To=%3C53DFCFCF.4010900%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="000421.html"> + <LINK REL="Next" HREF="000423.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] ranch dispatch error ver 1.0.0</H1> + <B>Loïc Hoguin</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20ranch%20dispatch%20error%20ver%201.0.0&In-Reply-To=%3C53DFCFCF.4010900%40ninenines.eu%3E" + TITLE="[99s-extend] ranch dispatch error ver 1.0.0">essen at ninenines.eu + </A><BR> + <I>Mon Aug 4 20:24:15 CEST 2014</I> + <P><UL> + <LI>Previous message: <A HREF="000421.html">[99s-extend] ranch dispatch error ver 1.0.0 +</A></li> + <LI>Next message: <A HREF="000423.html">[99s-extend] Fwd: ranch dispatch error ver 1.0.0 +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#422">[ date ]</a> + <a href="thread.html#422">[ thread ]</a> + <a href="subject.html#422">[ subject ]</a> + <a href="author.html#422">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Well I don't have any idea then. Cowboy is tested with http and https, +both with and without compression enabled. There's never been any +difference of the kind, the only difference is timing related. + +On 08/04/2014 08:16 PM, Samir Sow wrote: +><i> I can assure you it’s the only one :) +</I>><i> +</I>><i> Samir +</I>><i> +</I>><i> On 4 août 2014, at 19:59, Loïc Hoguin <<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>> wrote: +</I>><i> +</I>>><i> I'm saying it can't be the only difference. +</I>>><i> +</I>>><i> On 08/04/2014 07:50 PM, Samir Sow wrote: +</I>>>><i> I’m not sure i understand your question. +</I>>>><i> +</I>>>><i> I’ve only started a cowboy https server with a handler. +</I>>>><i> The http version was working fine. +</I>>>><i> +</I>>>><i> Sincerely +</I>>>><i> +</I>>>><i> Samir +</I>>>><i> +</I>>>><i> On 4 août 2014, at 18:49, Loïc Hoguin <<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>> wrote: +</I>>>><i> +</I>>>>><i> Surely there's something else that you're not showing there. For some reason you got a list of segments in the error, and we haven't had that for a very long time. Do you have an onrequest hook or middleware that does weird things perhaps? +</I>>>>><i> +</I>>>>><i> On 08/04/2014 06:39 PM, Samir Sow wrote: +</I>>>>>><i> Hi, +</I>>>>>><i> +</I>>>>>><i> I’ve moved a working http server to https. +</I>>>>>><i> SSL handshaking is ok but i got the following Ranch error : +</I>>>>>><i> +</I>>>>>><i> [error] Ranch listener https_mta had connection process started with cowboy_protocol:start_link/4 at <0.601.0> exit with reason: {badarg,[{binary,match,[[<<"com">>,<<"oockit">>,<<"www">>],<<".">>],[]},{cowboy_router,split_host,2,[{file,"src/cowboy_router.erl"},{line,305}]},{cowboy_router,match,3,[{file,"src/cowboy_router.erl"},{line,240}]},{cowboy_router,execute,2,[{file,"src/cowboy_router.erl"},{line,169}]},{cowboy_protocol,execute,4,[{file,"src/cowboy_protocol.erl"},{line,435}]}]} +</I>>>>>><i> +</I>>>>>><i> call is +</I>>>>>><i> +</I>>>>>><i> curl --cacert priv/cert/root.crt "<A HREF="https://www.oockit.com:7171/mtagw?">https://www.oockit.com:7171/mtagw?</A> +</I>>>>>><i> +</I>>>>>><i> +</I>>>>>><i> dispatch is +</I>>>>>><i> +</I>>>>>><i> [{'_', [ +</I>>>>>><i> {["/static/[...]"], cowboy_static, [{directory, {priv_dir, ?APP, [<<"static">>]}}, +</I>>>>>><i> {mimetypes, {fun mimetypes:path_to_mimes/2, default}}]}, +</I>>>>>><i> {"/mtagw", hck_mta, []} +</I>>>>>><i> ]}]). +</I>>>>>><i> +</I>>>>>><i> +</I>>>>>><i> Any clue ? +</I>>>>>><i> +</I>>>>>><i> Thanks +</I>>>>>><i> +</I>>>>>><i> sincerely +</I>>>>>><i> +</I>>>>>><i> Samir +</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="https://lists.ninenines.eu/listinfo/extend">https://lists.ninenines.eu/listinfo/extend</A> +</I>>>>>><i> +</I>>>>><i> +</I>>>>><i> -- +</I>>>>><i> Loïc Hoguin +</I>>>>><i> <A HREF="http://ninenines.eu">http://ninenines.eu</A> +</I>>>><i> +</I>>><i> +</I>>><i> -- +</I>>><i> Loïc Hoguin +</I>>><i> <A HREF="http://ninenines.eu">http://ninenines.eu</A> +</I>><i> +</I> +-- +Loïc Hoguin +<A HREF="http://ninenines.eu">http://ninenines.eu</A> +</PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000421.html">[99s-extend] ranch dispatch error ver 1.0.0 +</A></li> + <LI>Next message: <A HREF="000423.html">[99s-extend] Fwd: ranch dispatch error ver 1.0.0 +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#422">[ date ]</a> + <a href="thread.html#422">[ thread ]</a> + <a href="subject.html#422">[ subject ]</a> + <a href="author.html#422">[ 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/2014-August/000423.html b/archives/extend/2014-August/000423.html new file mode 100644 index 00000000..f7bb6c65 --- /dev/null +++ b/archives/extend/2014-August/000423.html @@ -0,0 +1,149 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] Fwd: ranch dispatch error ver 1.0.0 + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Fwd%3A%20%20ranch%20dispatch%20error%20ver%201.0.0&In-Reply-To=%3CF1A671F7-04DD-4294-A340-AB122406274F%40wanadoo.fr%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="000422.html"> + <LINK REL="Next" HREF="000424.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] Fwd: ranch dispatch error ver 1.0.0</H1> + <B>Samir Sow</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Fwd%3A%20%20ranch%20dispatch%20error%20ver%201.0.0&In-Reply-To=%3CF1A671F7-04DD-4294-A340-AB122406274F%40wanadoo.fr%3E" + TITLE="[99s-extend] Fwd: ranch dispatch error ver 1.0.0">samset at wanadoo.fr + </A><BR> + <I>Mon Aug 4 20:25:25 CEST 2014</I> + <P><UL> + <LI>Previous message: <A HREF="000422.html">[99s-extend] ranch dispatch error ver 1.0.0 +</A></li> + <LI>Next message: <A HREF="000424.html">[99s-extend] Broken links for REST flowcharts +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#423">[ date ]</a> + <a href="thread.html#423">[ thread ]</a> + <a href="subject.html#423">[ subject ]</a> + <a href="author.html#423">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE> +I found my mistake. + +I’ve a typo error - used a token instead of a function call in the dispatch object. +I apologize for the disturbance. + +Thank you. + +Sincerely + +Samir + +Begin forwarded message: + +><i> From: Samir Sow <<A HREF="https://lists.ninenines.eu/listinfo/extend">samset at wanadoo.fr</A>> +</I>><i> Subject: Re: [99s-extend] ranch dispatch error ver 1.0.0 +</I>><i> Date: 4 août 2014 20:16:06 UTC+2 +</I>><i> To: Loïc Hoguin <<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>> +</I>><i> Cc: <A HREF="https://lists.ninenines.eu/listinfo/extend">extend at lists.ninenines.eu</A> +</I>><i> +</I>><i> I can assure you it’s the only one :) +</I>><i> +</I>><i> Samir +</I>><i> +</I>><i> On 4 août 2014, at 19:59, Loïc Hoguin <<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>> wrote: +</I>><i> +</I>>><i> I'm saying it can't be the only difference. +</I>>><i> +</I>>><i> On 08/04/2014 07:50 PM, Samir Sow wrote: +</I>>>><i> I’m not sure i understand your question. +</I>>>><i> +</I>>>><i> I’ve only started a cowboy https server with a handler. +</I>>>><i> The http version was working fine. +</I>>>><i> +</I>>>><i> Sincerely +</I>>>><i> +</I>>>><i> Samir +</I>>>><i> +</I>>>><i> On 4 août 2014, at 18:49, Loïc Hoguin <<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>> wrote: +</I>>>><i> +</I>>>>><i> Surely there's something else that you're not showing there. For some reason you got a list of segments in the error, and we haven't had that for a very long time. Do you have an onrequest hook or middleware that does weird things perhaps? +</I>>>>><i> +</I>>>>><i> On 08/04/2014 06:39 PM, Samir Sow wrote: +</I>>>>>><i> Hi, +</I>>>>>><i> +</I>>>>>><i> I’ve moved a working http server to https. +</I>>>>>><i> SSL handshaking is ok but i got the following Ranch error : +</I>>>>>><i> +</I>>>>>><i> [error] Ranch listener https_mta had connection process started with cowboy_protocol:start_link/4 at <0.601.0> exit with reason: {badarg,[{binary,match,[[<<"com">>,<<"oockit">>,<<"www">>],<<".">>],[]},{cowboy_router,split_host,2,[{file,"src/cowboy_router.erl"},{line,305}]},{cowboy_router,match,3,[{file,"src/cowboy_router.erl"},{line,240}]},{cowboy_router,execute,2,[{file,"src/cowboy_router.erl"},{line,169}]},{cowboy_protocol,execute,4,[{file,"src/cowboy_protocol.erl"},{line,435}]}]} +</I>>>>>><i> +</I>>>>>><i> call is +</I>>>>>><i> +</I>>>>>><i> curl --cacert priv/cert/root.crt "<A HREF="https://www.oockit.com:7171/mtagw?">https://www.oockit.com:7171/mtagw?</A> +</I>>>>>><i> +</I>>>>>><i> +</I>>>>>><i> dispatch is +</I>>>>>><i> +</I>>>>>><i> [{'_', [ +</I>>>>>><i> {["/static/[...]"], cowboy_static, [{directory, {priv_dir, ?APP, [<<"static">>]}}, +</I>>>>>><i> {mimetypes, {fun mimetypes:path_to_mimes/2, default}}]}, +</I>>>>>><i> {"/mtagw", hck_mta, []} +</I>>>>>><i> ]}]). +</I>>>>>><i> +</I>>>>>><i> +</I>>>>>><i> Any clue ? +</I>>>>>><i> +</I>>>>>><i> Thanks +</I>>>>>><i> +</I>>>>>><i> sincerely +</I>>>>>><i> +</I>>>>>><i> Samir +</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="https://lists.ninenines.eu/listinfo/extend">https://lists.ninenines.eu/listinfo/extend</A> +</I>>>>>><i> +</I>>>>><i> +</I>>>>><i> -- +</I>>>>><i> Loïc Hoguin +</I>>>>><i> <A HREF="http://ninenines.eu">http://ninenines.eu</A> +</I>>>><i> +</I>>><i> +</I>>><i> -- +</I>>><i> Loïc Hoguin +</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="000422.html">[99s-extend] ranch dispatch error ver 1.0.0 +</A></li> + <LI>Next message: <A HREF="000424.html">[99s-extend] Broken links for REST flowcharts +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#423">[ date ]</a> + <a href="thread.html#423">[ thread ]</a> + <a href="subject.html#423">[ subject ]</a> + <a href="author.html#423">[ 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/2014-August/000424.html b/archives/extend/2014-August/000424.html new file mode 100644 index 00000000..5118e1ad --- /dev/null +++ b/archives/extend/2014-August/000424.html @@ -0,0 +1,78 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] Broken links for REST flowcharts + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Broken%20links%20for%20REST%20flowcharts&In-Reply-To=%3CCA%2BdV7cSRzu0Mnz-JqzBnp2JqjVB%3DCx5XswuBU-7BT7nZi9%3D1tQ%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="000423.html"> + <LINK REL="Next" HREF="000425.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] Broken links for REST flowcharts</H1> + <B>Paulo F. Oliveira</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Broken%20links%20for%20REST%20flowcharts&In-Reply-To=%3CCA%2BdV7cSRzu0Mnz-JqzBnp2JqjVB%3DCx5XswuBU-7BT7nZi9%3D1tQ%40mail.gmail.com%3E" + TITLE="[99s-extend] Broken links for REST flowcharts">paulo.ferraz.oliveira at gmail.com + </A><BR> + <I>Tue Aug 5 12:58:10 CEST 2014</I> + <P><UL> + <LI>Previous message: <A HREF="000423.html">[99s-extend] Fwd: ranch dispatch error ver 1.0.0 +</A></li> + <LI>Next message: <A HREF="000425.html">[99s-extend] Broken links for REST flowcharts +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#424">[ date ]</a> + <a href="thread.html#424">[ thread ]</a> + <a href="subject.html#424">[ subject ]</a> + <a href="author.html#424">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Hi. + +The image links are broken for the REST flowcharts' guide, part of cowboy. + +<A HREF="http://ninenines.eu/docs/en/cowboy/1.0/guide/rest_flowcharts/rest_start.png">http://ninenines.eu/docs/en/cowboy/1.0/guide/rest_flowcharts/rest_start.png</A> +(for example) +should probably be +<A HREF="http://ninenines.eu/docs/en/cowboy/1.0/guide/rest_start.png">http://ninenines.eu/docs/en/cowboy/1.0/guide/rest_start.png</A> +according to the hierarchy here: +<A HREF="https://github.com/ninenines/ninenines.github.io/tree/master/docs/en/cowboy/1.0/guide">https://github.com/ninenines/ninenines.github.io/tree/master/docs/en/cowboy/1.0/guide</A> + +Thanks. + +- Paulo F. Oliveira +-------------- next part -------------- +An HTML attachment was scrubbed... +URL: <<A HREF="http://lists.ninenines.eu/archives/extend/attachments/20140805/2c08b12c/attachment.html">http://lists.ninenines.eu/archives/extend/attachments/20140805/2c08b12c/attachment.html</A>> +</PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000423.html">[99s-extend] Fwd: ranch dispatch error ver 1.0.0 +</A></li> + <LI>Next message: <A HREF="000425.html">[99s-extend] Broken links for REST flowcharts +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#424">[ date ]</a> + <a href="thread.html#424">[ thread ]</a> + <a href="subject.html#424">[ subject ]</a> + <a href="author.html#424">[ 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/2014-August/000425.html b/archives/extend/2014-August/000425.html new file mode 100644 index 00000000..1991924d --- /dev/null +++ b/archives/extend/2014-August/000425.html @@ -0,0 +1,89 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] Broken links for REST flowcharts + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Broken%20links%20for%20REST%20flowcharts&In-Reply-To=%3C53E0BDB0.70401%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="000424.html"> + <LINK REL="Next" HREF="000426.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] Broken links for REST flowcharts</H1> + <B>Loïc Hoguin</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Broken%20links%20for%20REST%20flowcharts&In-Reply-To=%3C53E0BDB0.70401%40ninenines.eu%3E" + TITLE="[99s-extend] Broken links for REST flowcharts">essen at ninenines.eu + </A><BR> + <I>Tue Aug 5 13:19:12 CEST 2014</I> + <P><UL> + <LI>Previous message: <A HREF="000424.html">[99s-extend] Broken links for REST flowcharts +</A></li> + <LI>Next message: <A HREF="000426.html">[99s-extend] [ANN] Cowboy 1.0 +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#425">[ date ]</a> + <a href="thread.html#425">[ thread ]</a> + <a href="subject.html#425">[ subject ]</a> + <a href="author.html#425">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Fixed, thanks. + +On 08/05/2014 12:58 PM, Paulo F. Oliveira wrote: +><i> Hi. +</I>><i> +</I>><i> The image links are broken for the REST flowcharts' guide, part of cowboy. +</I>><i> +</I>><i> <A HREF="http://ninenines.eu/docs/en/cowboy/1.0/guide/rest_flowcharts/rest_start.png">http://ninenines.eu/docs/en/cowboy/1.0/guide/rest_flowcharts/rest_start.png</A> +</I>><i> (for example) +</I>><i> should probably be +</I>><i> <A HREF="http://ninenines.eu/docs/en/cowboy/1.0/guide/rest_start.png">http://ninenines.eu/docs/en/cowboy/1.0/guide/rest_start.png</A> +</I>><i> according to the hierarchy here: +</I>><i> <A HREF="https://github.com/ninenines/ninenines.github.io/tree/master/docs/en/cowboy/1.0/guide">https://github.com/ninenines/ninenines.github.io/tree/master/docs/en/cowboy/1.0/guide</A> +</I>><i> +</I>><i> Thanks. +</I>><i> +</I>><i> - Paulo F. Oliveira +</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="https://lists.ninenines.eu/listinfo/extend">https://lists.ninenines.eu/listinfo/extend</A> +</I>><i> +</I> +-- +Loïc Hoguin +<A HREF="http://ninenines.eu">http://ninenines.eu</A> +</PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000424.html">[99s-extend] Broken links for REST flowcharts +</A></li> + <LI>Next message: <A HREF="000426.html">[99s-extend] [ANN] Cowboy 1.0 +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#425">[ date ]</a> + <a href="thread.html#425">[ thread ]</a> + <a href="subject.html#425">[ subject ]</a> + <a href="author.html#425">[ 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/2014-August/000426.html b/archives/extend/2014-August/000426.html new file mode 100644 index 00000000..8f3db309 --- /dev/null +++ b/archives/extend/2014-August/000426.html @@ -0,0 +1,119 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] [ANN] Cowboy 1.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%201.0&In-Reply-To=%3C53E0D183.1060206%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="000425.html"> + <LINK REL="Next" HREF="000427.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] [ANN] Cowboy 1.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%201.0&In-Reply-To=%3C53E0D183.1060206%40ninenines.eu%3E" + TITLE="[99s-extend] [ANN] Cowboy 1.0">essen at ninenines.eu + </A><BR> + <I>Tue Aug 5 14:43:47 CEST 2014</I> + <P><UL> + <LI>Previous message: <A HREF="000425.html">[99s-extend] Broken links for REST flowcharts +</A></li> + <LI>Next message: <A HREF="000427.html">[99s-extend] [erlang-questions] [ANN] Cowboy 1.0 +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#426">[ date ]</a> + <a href="thread.html#426">[ thread ]</a> + <a href="subject.html#426">[ subject ]</a> + <a href="author.html#426">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Hello! + +Cowboy 1.0 has been released. + +Cowboy is a small and fast HTTP server for Erlang with support for +Webmachine-like REST, Websocket and more. + + <A HREF="https://github.com/ninenines/cowboy">https://github.com/ninenines/cowboy</A> + +Cowboy is the work of more than 80 people. I would like to congratulate +everyone for the great work done so far. Thank you! + +Please see the CHANGELOG for details on what's changed. + + <A HREF="https://github.com/ninenines/cowboy/blob/master/CHANGELOG.md">https://github.com/ninenines/cowboy/blob/master/CHANGELOG.md</A> + +This release marks the beginning of the 1.0.x branch which will contain +backward compatible fixes. This branch will be maintained at least until +Cowboy 2.0 gets released (longer if sponsors request it). It is highly +recommended that you follow this branch if you were following master +before, as master will receive backward incompatible changes starting +tomorrow. + +Cowboy is now fully documented. It has a user guide, a function +reference manual, and a wealth of examples. You can also install man +pages as explained in the README of the project. + + <A HREF="http://ninenines.eu/docs/en/cowboy/1.0/guide/">http://ninenines.eu/docs/en/cowboy/1.0/guide/</A> + <A HREF="http://ninenines.eu/docs/en/cowboy/1.0/manual/">http://ninenines.eu/docs/en/cowboy/1.0/manual/</A> + <A HREF="https://github.com/ninenines/cowboy/tree/master/examples">https://github.com/ninenines/cowboy/tree/master/examples</A> + +Following a discussion on the Erlang mailing lists the Getting Started +chapter was reworked and greatly simplified, in parts due to the +improvements made to erlang.mk. Feedback is of course always welcome. + + <A HREF="http://ninenines.eu/docs/en/cowboy/1.0/guide/getting_started/">http://ninenines.eu/docs/en/cowboy/1.0/guide/getting_started/</A> + +Starting tomorrow the master branch will receive backward incompatible +changes. Most of the planned changes are detailed in the ROADMAP. You +are welcome to suggest additional changes. + + <A HREF="https://github.com/ninenines/cowboy/blob/master/ROADMAP.md">https://github.com/ninenines/cowboy/blob/master/ROADMAP.md</A> + +Cowboy 2.0 is planned to be released at around the same time Erlang/OTP +18.0 comes out. There are no plans for a Cowboy 1.1 at this time, +although that may change in the coming months if there is interest in +new features. + +Ranch also got upgraded to 1.0, although there was no changes from the +previous release. + + <A HREF="https://github.com/ninenines/ranch">https://github.com/ninenines/ranch</A> + +Thanks to everyone who made this project what it is today! + +-- +Loïc Hoguin +<A HREF="http://ninenines.eu">http://ninenines.eu</A> +</PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000425.html">[99s-extend] Broken links for REST flowcharts +</A></li> + <LI>Next message: <A HREF="000427.html">[99s-extend] [erlang-questions] [ANN] Cowboy 1.0 +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#426">[ date ]</a> + <a href="thread.html#426">[ thread ]</a> + <a href="subject.html#426">[ subject ]</a> + <a href="author.html#426">[ 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/2014-August/000427.html b/archives/extend/2014-August/000427.html new file mode 100644 index 00000000..c11add6d --- /dev/null +++ b/archives/extend/2014-August/000427.html @@ -0,0 +1,68 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] [erlang-questions] [ANN] Cowboy 1.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%201.0&In-Reply-To=%3CCAMxVRxAwOt8y83P7wSxhDiOVJe7OZn5AFqowRACBqCSCbf7Qhw%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="000426.html"> + <LINK REL="Next" HREF="000430.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] [erlang-questions] [ANN] Cowboy 1.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%5BANN%5D%20Cowboy%201.0&In-Reply-To=%3CCAMxVRxAwOt8y83P7wSxhDiOVJe7OZn5AFqowRACBqCSCbf7Qhw%40mail.gmail.com%3E" + TITLE="[99s-extend] [erlang-questions] [ANN] Cowboy 1.0">max.lapshin at gmail.com + </A><BR> + <I>Tue Aug 5 15:33:27 CEST 2014</I> + <P><UL> + <LI>Previous message: <A HREF="000426.html">[99s-extend] [ANN] Cowboy 1.0 +</A></li> + <LI>Next message: <A HREF="000430.html">[99s-extend] [erlang-questions] [ANN] Cowboy 1.0 +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#427">[ date ]</a> + <a href="thread.html#427">[ thread ]</a> + <a href="subject.html#427">[ subject ]</a> + <a href="author.html#427">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Loic, it is very cool! + +Thanks. +-------------- next part -------------- +An HTML attachment was scrubbed... +URL: <<A HREF="http://lists.ninenines.eu/archives/extend/attachments/20140805/a3d520b7/attachment.html">http://lists.ninenines.eu/archives/extend/attachments/20140805/a3d520b7/attachment.html</A>> +</PRE> + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000426.html">[99s-extend] [ANN] Cowboy 1.0 +</A></li> + <LI>Next message: <A HREF="000430.html">[99s-extend] [erlang-questions] [ANN] Cowboy 1.0 +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#427">[ date ]</a> + <a href="thread.html#427">[ thread ]</a> + <a href="subject.html#427">[ subject ]</a> + <a href="author.html#427">[ 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/2014-August/000428.html b/archives/extend/2014-August/000428.html new file mode 100644 index 00000000..f46a98ce --- /dev/null +++ b/archives/extend/2014-August/000428.html @@ -0,0 +1,138 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] [erlang-questions] [ANN] Cowboy 1.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%201.0&In-Reply-To=%3CCAPTXyXcOJic72bbd8VCANqGoJNRZ44-HOQgm%3Dmwa-%3DjcUDnt4Q%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="000433.html"> + <LINK REL="Next" HREF="000429.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] [erlang-questions] [ANN] Cowboy 1.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%201.0&In-Reply-To=%3CCAPTXyXcOJic72bbd8VCANqGoJNRZ44-HOQgm%3Dmwa-%3DjcUDnt4Q%40mail.gmail.com%3E" + TITLE="[99s-extend] [erlang-questions] [ANN] Cowboy 1.0">gumm at sigma-star.com + </A><BR> + <I>Tue Aug 5 17:56:25 CEST 2014</I> + <P><UL> + <LI>Previous message: <A HREF="000433.html">[99s-extend] [erlang-questions] [ANN] Cowboy 1.0 +</A></li> + <LI>Next message: <A HREF="000429.html">[99s-extend] [erlang-questions] [ANN] Cowboy 1.0 +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#428">[ date ]</a> + <a href="thread.html#428">[ thread ]</a> + <a href="subject.html#428">[ subject ]</a> + <a href="author.html#428">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Congrats Loic! + +-- +Jesse Gumm +Owner, Sigma Star Systems +414.940.4866 || sigma-star.com || @jessegumm +On Aug 5, 2014 7:43 AM, "Loïc Hoguin" <<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>> wrote: + +><i> Hello! +</I>><i> +</I>><i> Cowboy 1.0 has been released. +</I>><i> +</I>><i> Cowboy is a small and fast HTTP server for Erlang with support for +</I>><i> Webmachine-like REST, Websocket and more. +</I>><i> +</I>><i> <A HREF="https://github.com/ninenines/cowboy">https://github.com/ninenines/cowboy</A> +</I>><i> +</I>><i> Cowboy is the work of more than 80 people. I would like to congratulate +</I>><i> everyone for the great work done so far. Thank you! +</I>><i> +</I>><i> Please see the CHANGELOG for details on what's changed. +</I>><i> +</I>><i> <A HREF="https://github.com/ninenines/cowboy/blob/master/CHANGELOG.md">https://github.com/ninenines/cowboy/blob/master/CHANGELOG.md</A> +</I>><i> +</I>><i> This release marks the beginning of the 1.0.x branch which will contain +</I>><i> backward compatible fixes. This branch will be maintained at least until +</I>><i> Cowboy 2.0 gets released (longer if sponsors request it). It is highly +</I>><i> recommended that you follow this branch if you were following master +</I>><i> before, as master will receive backward incompatible changes starting +</I>><i> tomorrow. +</I>><i> +</I>><i> Cowboy is now fully documented. It has a user guide, a function reference +</I>><i> manual, and a wealth of examples. You can also install man pages as +</I>><i> explained in the README of the project. +</I>><i> +</I>><i> <A HREF="http://ninenines.eu/docs/en/cowboy/1.0/guide/">http://ninenines.eu/docs/en/cowboy/1.0/guide/</A> +</I>><i> <A HREF="http://ninenines.eu/docs/en/cowboy/1.0/manual/">http://ninenines.eu/docs/en/cowboy/1.0/manual/</A> +</I>><i> <A HREF="https://github.com/ninenines/cowboy/tree/master/examples">https://github.com/ninenines/cowboy/tree/master/examples</A> +</I>><i> +</I>><i> Following a discussion on the Erlang mailing lists the Getting Started +</I>><i> chapter was reworked and greatly simplified, in parts due to the +</I>><i> improvements made to erlang.mk. Feedback is of course always welcome. +</I>><i> +</I>><i> <A HREF="http://ninenines.eu/docs/en/cowboy/1.0/guide/getting_started/">http://ninenines.eu/docs/en/cowboy/1.0/guide/getting_started/</A> +</I>><i> +</I>><i> Starting tomorrow the master branch will receive backward incompatible +</I>><i> changes. Most of the planned changes are detailed in the ROADMAP. You are +</I>><i> welcome to suggest additional changes. +</I>><i> +</I>><i> <A HREF="https://github.com/ninenines/cowboy/blob/master/ROADMAP.md">https://github.com/ninenines/cowboy/blob/master/ROADMAP.md</A> +</I>><i> +</I>><i> Cowboy 2.0 is planned to be released at around the same time Erlang/OTP +</I>><i> 18.0 comes out. There are no plans for a Cowboy 1.1 at this time, although +</I>><i> that may change in the coming months if there is interest in new features. +</I>><i> +</I>><i> Ranch also got upgraded to 1.0, although there was no changes from the +</I>><i> previous release. +</I>><i> +</I>><i> <A HREF="https://github.com/ninenines/ranch">https://github.com/ninenines/ranch</A> +</I>><i> +</I>><i> Thanks to everyone who made this project what it is today! +</I>><i> +</I>><i> -- +</I>><i> Loïc Hoguin +</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</A> +</I>><i> +</I>-------------- next part -------------- +An HTML attachment was scrubbed... +URL: <<A HREF="http://lists.ninenines.eu/archives/extend/attachments/20140805/fb1bc75c/attachment.html">http://lists.ninenines.eu/archives/extend/attachments/20140805/fb1bc75c/attachment.html</A>> +</PRE> + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000433.html">[99s-extend] [erlang-questions] [ANN] Cowboy 1.0 +</A></li> + <LI>Next message: <A HREF="000429.html">[99s-extend] [erlang-questions] [ANN] Cowboy 1.0 +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#428">[ date ]</a> + <a href="thread.html#428">[ thread ]</a> + <a href="subject.html#428">[ subject ]</a> + <a href="author.html#428">[ 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/2014-August/000429.html b/archives/extend/2014-August/000429.html new file mode 100644 index 00000000..935d2482 --- /dev/null +++ b/archives/extend/2014-August/000429.html @@ -0,0 +1,143 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] [erlang-questions] [ANN] Cowboy 1.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%201.0&In-Reply-To=%3C1407260073.80138967%40apps.rackspace.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="000428.html"> + <LINK REL="Next" HREF="000434.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] [erlang-questions] [ANN] Cowboy 1.0</H1> + <B>lloyd at writersglen.com</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20%5Berlang-questions%5D%20%5BANN%5D%20Cowboy%201.0&In-Reply-To=%3C1407260073.80138967%40apps.rackspace.com%3E" + TITLE="[99s-extend] [erlang-questions] [ANN] Cowboy 1.0">lloyd at writersglen.com + </A><BR> + <I>Tue Aug 5 19:34:33 CEST 2014</I> + <P><UL> + <LI>Previous message: <A HREF="000428.html">[99s-extend] [erlang-questions] [ANN] Cowboy 1.0 +</A></li> + <LI>Next message: <A HREF="000434.html">[99s-extend] eunit suppoort in erlang.mk? +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#429">[ date ]</a> + <a href="thread.html#429">[ thread ]</a> + <a href="subject.html#429">[ subject ]</a> + <a href="author.html#429">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Tip of the hat, Loïc et. al. + +Outstanding and much appreciated work. + +Best to all, + +Lloyd + +-----Original Message----- +From: "Loïc Hoguin" <<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>> +Sent: Tuesday, August 5, 2014 8:43am +To: "Erlang" <<A HREF="https://lists.ninenines.eu/listinfo/extend">erlang-questions at erlang.org</A>>, <A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A> +Subject: [erlang-questions] [ANN] Cowboy 1.0 + +Hello! + +Cowboy 1.0 has been released. + +Cowboy is a small and fast HTTP server for Erlang with support for +Webmachine-like REST, Websocket and more. + + <A HREF="https://github.com/ninenines/cowboy">https://github.com/ninenines/cowboy</A> + +Cowboy is the work of more than 80 people. I would like to congratulate +everyone for the great work done so far. Thank you! + +Please see the CHANGELOG for details on what's changed. + + <A HREF="https://github.com/ninenines/cowboy/blob/master/CHANGELOG.md">https://github.com/ninenines/cowboy/blob/master/CHANGELOG.md</A> + +This release marks the beginning of the 1.0.x branch which will contain +backward compatible fixes. This branch will be maintained at least until +Cowboy 2.0 gets released (longer if sponsors request it). It is highly +recommended that you follow this branch if you were following master +before, as master will receive backward incompatible changes starting +tomorrow. + +Cowboy is now fully documented. It has a user guide, a function +reference manual, and a wealth of examples. You can also install man +pages as explained in the README of the project. + + <A HREF="http://ninenines.eu/docs/en/cowboy/1.0/guide/">http://ninenines.eu/docs/en/cowboy/1.0/guide/</A> + <A HREF="http://ninenines.eu/docs/en/cowboy/1.0/manual/">http://ninenines.eu/docs/en/cowboy/1.0/manual/</A> + <A HREF="https://github.com/ninenines/cowboy/tree/master/examples">https://github.com/ninenines/cowboy/tree/master/examples</A> + +Following a discussion on the Erlang mailing lists the Getting Started +chapter was reworked and greatly simplified, in parts due to the +improvements made to erlang.mk. Feedback is of course always welcome. + + <A HREF="http://ninenines.eu/docs/en/cowboy/1.0/guide/getting_started/">http://ninenines.eu/docs/en/cowboy/1.0/guide/getting_started/</A> + +Starting tomorrow the master branch will receive backward incompatible +changes. Most of the planned changes are detailed in the ROADMAP. You +are welcome to suggest additional changes. + + <A HREF="https://github.com/ninenines/cowboy/blob/master/ROADMAP.md">https://github.com/ninenines/cowboy/blob/master/ROADMAP.md</A> + +Cowboy 2.0 is planned to be released at around the same time Erlang/OTP +18.0 comes out. There are no plans for a Cowboy 1.1 at this time, +although that may change in the coming months if there is interest in +new features. + +Ranch also got upgraded to 1.0, although there was no changes from the +previous release. + + <A HREF="https://github.com/ninenines/ranch">https://github.com/ninenines/ranch</A> + +Thanks to everyone who made this project what it is today! + +-- +Loïc Hoguin +<A HREF="http://ninenines.eu">http://ninenines.eu</A> +_______________________________________________ +erlang-questions mailing list +<A HREF="https://lists.ninenines.eu/listinfo/extend">erlang-questions at erlang.org</A> +<A HREF="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/listinfo/erlang-questions</A> + + +</PRE> + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000428.html">[99s-extend] [erlang-questions] [ANN] Cowboy 1.0 +</A></li> + <LI>Next message: <A HREF="000434.html">[99s-extend] eunit suppoort in erlang.mk? +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#429">[ date ]</a> + <a href="thread.html#429">[ thread ]</a> + <a href="subject.html#429">[ subject ]</a> + <a href="author.html#429">[ 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/2014-August/000430.html b/archives/extend/2014-August/000430.html new file mode 100644 index 00000000..2b79d150 --- /dev/null +++ b/archives/extend/2014-August/000430.html @@ -0,0 +1,119 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] [erlang-questions] [ANN] Cowboy 1.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%201.0&In-Reply-To=%3CCA%2BdV7cRYs3nfweJjUYLh-cCuuxmFbngoFUdDjoYgYwkky3LFNQ%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="000427.html"> + <LINK REL="Next" HREF="000431.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] [erlang-questions] [ANN] Cowboy 1.0</H1> + <B>Paulo F. Oliveira</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20%5Berlang-questions%5D%20%5BANN%5D%20Cowboy%201.0&In-Reply-To=%3CCA%2BdV7cRYs3nfweJjUYLh-cCuuxmFbngoFUdDjoYgYwkky3LFNQ%40mail.gmail.com%3E" + TITLE="[99s-extend] [erlang-questions] [ANN] Cowboy 1.0">paulo.ferraz.oliveira at gmail.com + </A><BR> + <I>Tue Aug 5 22:33:17 CEST 2014</I> + <P><UL> + <LI>Previous message: <A HREF="000427.html">[99s-extend] [erlang-questions] [ANN] Cowboy 1.0 +</A></li> + <LI>Next message: <A HREF="000431.html">[99s-extend] [erlang-questions] [ANN] Cowboy 1.0 +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#430">[ date ]</a> + <a href="thread.html#430">[ thread ]</a> + <a href="subject.html#430">[ subject ]</a> + <a href="author.html#430">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Hi, Federico. + +Check this out for the "why" regarding your question: +<A HREF="https://github.com/ninenines/cowboy/issues/715">https://github.com/ninenines/cowboy/issues/715</A> + +It's one of the reasons (I haven't detected others yet) stopping me from +moving to 1.0, unfortunately (I have some projects depending on these +status codes already), but as soon as I have some time and look at all the +_major_ differences between 0.9.0 and 1.0 I think I'll make the move. For +the time being, I have found no issues with the REST part of cowboy (the +one I use). + +Thank you, Loïc et all for the effort and for keeping it open source. + +Regards. + +- Paulo F. Oliveira + + +On 5 August 2014 15:18, Federico Carrone <<A HREF="https://lists.ninenines.eu/listinfo/extend">federico.carrone at gmail.com</A>> wrote: + +><i> Congratulations Loic. I really love cowboy. +</I>><i> +</I>><i> I got only one question: Why did you change the reply with 400 instead of +</I>><i> 422 in cowboy_rest for unprocessable entities? +</I>><i> +</I>><i> Regards, +</I>><i> Federico. +</I>><i> +</I>><i> +</I>><i> +</I>><i> On Tue, Aug 5, 2014 at 10:33 AM, Max Lapshin <<A HREF="https://lists.ninenines.eu/listinfo/extend">max.lapshin at gmail.com</A>> +</I>><i> wrote: +</I>><i> +</I>>><i> Loic, it is very cool! +</I>>><i> +</I>>><i> Thanks. +</I>>><i> +</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</A> +</I>>><i> +</I>>><i> +</I>><i> +</I>><i> +</I>><i> -- +</I>><i> <A HREF="http://federicocarrone.com/">http://federicocarrone.com/</A> +</I>><i> +</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</A> +</I>><i> +</I>><i> +</I>-------------- next part -------------- +An HTML attachment was scrubbed... +URL: <<A HREF="http://lists.ninenines.eu/archives/extend/attachments/20140805/f3705f7b/attachment.html">http://lists.ninenines.eu/archives/extend/attachments/20140805/f3705f7b/attachment.html</A>> +</PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000427.html">[99s-extend] [erlang-questions] [ANN] Cowboy 1.0 +</A></li> + <LI>Next message: <A HREF="000431.html">[99s-extend] [erlang-questions] [ANN] Cowboy 1.0 +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#430">[ date ]</a> + <a href="thread.html#430">[ thread ]</a> + <a href="subject.html#430">[ subject ]</a> + <a href="author.html#430">[ 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/2014-August/000431.html b/archives/extend/2014-August/000431.html new file mode 100644 index 00000000..ec87a528 --- /dev/null +++ b/archives/extend/2014-August/000431.html @@ -0,0 +1,132 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] [erlang-questions] [ANN] Cowboy 1.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%201.0&In-Reply-To=%3C53E144C6.7040701%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="000430.html"> + <LINK REL="Next" HREF="000432.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] [erlang-questions] [ANN] Cowboy 1.0</H1> + <B>Loïc Hoguin</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20%5Berlang-questions%5D%20%5BANN%5D%20Cowboy%201.0&In-Reply-To=%3C53E144C6.7040701%40ninenines.eu%3E" + TITLE="[99s-extend] [erlang-questions] [ANN] Cowboy 1.0">essen at ninenines.eu + </A><BR> + <I>Tue Aug 5 22:55:34 CEST 2014</I> + <P><UL> + <LI>Previous message: <A HREF="000430.html">[99s-extend] [erlang-questions] [ANN] Cowboy 1.0 +</A></li> + <LI>Next message: <A HREF="000432.html">[99s-extend] [erlang-questions] [ANN] Cowboy 1.0 +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#431">[ date ]</a> + <a href="thread.html#431">[ thread ]</a> + <a href="subject.html#431">[ subject ]</a> + <a href="author.html#431">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>You can easily send 422 and return halt instead of returning false if +you need to keep that, it'll just be 2 lines instead of 1. :) + +On 08/05/2014 10:33 PM, Paulo F. Oliveira wrote: +><i> Hi, Federico. +</I>><i> +</I>><i> Check this out for the "why" regarding your question: +</I>><i> <A HREF="https://github.com/ninenines/cowboy/issues/715">https://github.com/ninenines/cowboy/issues/715</A> +</I>><i> +</I>><i> It's one of the reasons (I haven't detected others yet) stopping me from +</I>><i> moving to 1.0, unfortunately (I have some projects depending on these +</I>><i> status codes already), but as soon as I have some time and look at all +</I>><i> the _major_ differences between 0.9.0 and 1.0 I think I'll make the +</I>><i> move. For the time being, I have found no issues with the REST part of +</I>><i> cowboy (the one I use). +</I>><i> +</I>><i> Thank you, Loïc et all for the effort and for keeping it open source. +</I>><i> +</I>><i> Regards. +</I>><i> +</I>><i> - Paulo F. Oliveira +</I>><i> +</I>><i> +</I>><i> On 5 August 2014 15:18, Federico Carrone <<A HREF="https://lists.ninenines.eu/listinfo/extend">federico.carrone at gmail.com</A> +</I>><i> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">federico.carrone at gmail.com</A>>> wrote: +</I>><i> +</I>><i> Congratulations Loic. I really love cowboy. +</I>><i> +</I>><i> I got only one question: Why did you change the reply with 400 +</I>><i> instead of 422 in cowboy_rest for unprocessable entities? +</I>><i> +</I>><i> Regards, +</I>><i> Federico. +</I>><i> +</I>><i> +</I>><i> +</I>><i> On Tue, Aug 5, 2014 at 10:33 AM, Max Lapshin <<A HREF="https://lists.ninenines.eu/listinfo/extend">max.lapshin at gmail.com</A> +</I>><i> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">max.lapshin at gmail.com</A>>> wrote: +</I>><i> +</I>><i> Loic, it is very cool! +</I>><i> +</I>><i> Thanks. +</I>><i> +</I>><i> _______________________________________________ +</I>><i> erlang-questions mailing list +</I>><i> <A HREF="https://lists.ninenines.eu/listinfo/extend">erlang-questions at erlang.org</A> <mailto:<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</A> +</I>><i> +</I>><i> +</I>><i> +</I>><i> +</I>><i> -- +</I>><i> <A HREF="http://federicocarrone.com/">http://federicocarrone.com/</A> +</I>><i> +</I>><i> _______________________________________________ +</I>><i> erlang-questions mailing list +</I>><i> <A HREF="https://lists.ninenines.eu/listinfo/extend">erlang-questions at erlang.org</A> <mailto:<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</A> +</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="https://lists.ninenines.eu/listinfo/extend">https://lists.ninenines.eu/listinfo/extend</A> +</I>><i> +</I> +-- +Loïc Hoguin +<A HREF="http://ninenines.eu">http://ninenines.eu</A> +</PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000430.html">[99s-extend] [erlang-questions] [ANN] Cowboy 1.0 +</A></li> + <LI>Next message: <A HREF="000432.html">[99s-extend] [erlang-questions] [ANN] Cowboy 1.0 +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#431">[ date ]</a> + <a href="thread.html#431">[ thread ]</a> + <a href="subject.html#431">[ subject ]</a> + <a href="author.html#431">[ 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/2014-August/000432.html b/archives/extend/2014-August/000432.html new file mode 100644 index 00000000..3e6982cd --- /dev/null +++ b/archives/extend/2014-August/000432.html @@ -0,0 +1,155 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] [erlang-questions] [ANN] Cowboy 1.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%201.0&In-Reply-To=%3CCA%2BdV7cRNHiuZcJzc%2Bx3%3DeVuEsty3-8pE_2XqBOpVdg4MSch_AA%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="000431.html"> + <LINK REL="Next" HREF="000433.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] [erlang-questions] [ANN] Cowboy 1.0</H1> + <B>Paulo F. Oliveira</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20%5Berlang-questions%5D%20%5BANN%5D%20Cowboy%201.0&In-Reply-To=%3CCA%2BdV7cRNHiuZcJzc%2Bx3%3DeVuEsty3-8pE_2XqBOpVdg4MSch_AA%40mail.gmail.com%3E" + TITLE="[99s-extend] [erlang-questions] [ANN] Cowboy 1.0">paulo.ferraz.oliveira at gmail.com + </A><BR> + <I>Tue Aug 5 23:01:38 CEST 2014</I> + <P><UL> + <LI>Previous message: <A HREF="000431.html">[99s-extend] [erlang-questions] [ANN] Cowboy 1.0 +</A></li> + <LI>Next message: <A HREF="000433.html">[99s-extend] [erlang-questions] [ANN] Cowboy 1.0 +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#432">[ date ]</a> + <a href="thread.html#432">[ thread ]</a> + <a href="subject.html#432">[ subject ]</a> + <a href="author.html#432">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Yes, it should be _that_ easy for the 400 > 422 :D, but is that the only +important difference I should be aware of, then? I haven't written any real +tests, for the time being, to guarantee backward compatibility for +dependants... + +In any case, I'm thinking about updating the dependencies in the future (I +own one of them and the other one is an internal project, for the time +being). + +Thanks for the tip. + +Cheers. + +- Paulo F. Oliveira + + +On 5 August 2014 21:55, Loïc Hoguin <<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>> wrote: + +><i> You can easily send 422 and return halt instead of returning false if you +</I>><i> need to keep that, it'll just be 2 lines instead of 1. :) +</I>><i> +</I>><i> On 08/05/2014 10:33 PM, Paulo F. Oliveira wrote: +</I>><i> +</I>>><i> Hi, Federico. +</I>>><i> +</I>>><i> Check this out for the "why" regarding your question: +</I>>><i> <A HREF="https://github.com/ninenines/cowboy/issues/715">https://github.com/ninenines/cowboy/issues/715</A> +</I>>><i> +</I>>><i> It's one of the reasons (I haven't detected others yet) stopping me from +</I>>><i> moving to 1.0, unfortunately (I have some projects depending on these +</I>>><i> status codes already), but as soon as I have some time and look at all +</I>>><i> the _major_ differences between 0.9.0 and 1.0 I think I'll make the +</I>>><i> move. For the time being, I have found no issues with the REST part of +</I>>><i> cowboy (the one I use). +</I>>><i> +</I>>><i> Thank you, Loïc et all for the effort and for keeping it open source. +</I>>><i> +</I>>><i> Regards. +</I>>><i> +</I>>><i> - Paulo F. Oliveira +</I>>><i> +</I>>><i> +</I>>><i> On 5 August 2014 15:18, Federico Carrone <<A HREF="https://lists.ninenines.eu/listinfo/extend">federico.carrone at gmail.com</A> +</I>>><i> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">federico.carrone at gmail.com</A>>> wrote: +</I>>><i> +</I>>><i> Congratulations Loic. I really love cowboy. +</I>>><i> +</I>>><i> I got only one question: Why did you change the reply with 400 +</I>>><i> instead of 422 in cowboy_rest for unprocessable entities? +</I>>><i> +</I>>><i> Regards, +</I>>><i> Federico. +</I>>><i> +</I>>><i> +</I>>><i> +</I>>><i> On Tue, Aug 5, 2014 at 10:33 AM, Max Lapshin <<A HREF="https://lists.ninenines.eu/listinfo/extend">max.lapshin at gmail.com</A> +</I>>><i> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">max.lapshin at gmail.com</A>>> wrote: +</I>>><i> +</I>>><i> Loic, it is very cool! +</I>>><i> +</I>>><i> Thanks. +</I>>><i> +</I>>><i> _______________________________________________ +</I>>><i> erlang-questions mailing list +</I>>><i> <A HREF="https://lists.ninenines.eu/listinfo/extend">erlang-questions at erlang.org</A> <mailto:<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</A> +</I>>><i> +</I>>><i> +</I>>><i> +</I>>><i> +</I>>><i> -- +</I>>><i> <A HREF="http://federicocarrone.com/">http://federicocarrone.com/</A> +</I>>><i> +</I>>><i> _______________________________________________ +</I>>><i> erlang-questions mailing list +</I>>><i> <A HREF="https://lists.ninenines.eu/listinfo/extend">erlang-questions at erlang.org</A> <mailto:<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</A> +</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="https://lists.ninenines.eu/listinfo/extend">https://lists.ninenines.eu/listinfo/extend</A> +</I>>><i> +</I>>><i> +</I>><i> -- +</I>><i> Loïc Hoguin +</I>><i> <A HREF="http://ninenines.eu">http://ninenines.eu</A> +</I>><i> +</I>-------------- next part -------------- +An HTML attachment was scrubbed... +URL: <<A HREF="http://lists.ninenines.eu/archives/extend/attachments/20140805/34528764/attachment.html">http://lists.ninenines.eu/archives/extend/attachments/20140805/34528764/attachment.html</A>> +</PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000431.html">[99s-extend] [erlang-questions] [ANN] Cowboy 1.0 +</A></li> + <LI>Next message: <A HREF="000433.html">[99s-extend] [erlang-questions] [ANN] Cowboy 1.0 +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#432">[ date ]</a> + <a href="thread.html#432">[ thread ]</a> + <a href="subject.html#432">[ subject ]</a> + <a href="author.html#432">[ 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/2014-August/000433.html b/archives/extend/2014-August/000433.html new file mode 100644 index 00000000..3cb256ea --- /dev/null +++ b/archives/extend/2014-August/000433.html @@ -0,0 +1,181 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] [erlang-questions] [ANN] Cowboy 1.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%201.0&In-Reply-To=%3C53E1474B.1080407%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="000432.html"> + <LINK REL="Next" HREF="000428.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] [erlang-questions] [ANN] Cowboy 1.0</H1> + <B>Loïc Hoguin</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20%5Berlang-questions%5D%20%5BANN%5D%20Cowboy%201.0&In-Reply-To=%3C53E1474B.1080407%40ninenines.eu%3E" + TITLE="[99s-extend] [erlang-questions] [ANN] Cowboy 1.0">essen at ninenines.eu + </A><BR> + <I>Tue Aug 5 23:06:19 CEST 2014</I> + <P><UL> + <LI>Previous message: <A HREF="000432.html">[99s-extend] [erlang-questions] [ANN] Cowboy 1.0 +</A></li> + <LI>Next message: <A HREF="000428.html">[99s-extend] [erlang-questions] [ANN] Cowboy 1.0 +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#433">[ date ]</a> + <a href="thread.html#433">[ thread ]</a> + <a href="subject.html#433">[ subject ]</a> + <a href="author.html#433">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>If you were already at the previous version (0.10) then that plus a 400 +instead of 500 when header parsing fails are pretty much the only changes. + +There's some more if you were at 0.9, mostly the body reading interface +changed to prevent annoying timeout issues. + +On 08/05/2014 11:01 PM, Paulo F. Oliveira wrote: +><i> Yes, it should be _that_ easy for the 400 > 422 :D, but is that the only +</I>><i> important difference I should be aware of, then? I haven't written any +</I>><i> real tests, for the time being, to guarantee backward compatibility for +</I>><i> dependants... +</I>><i> +</I>><i> In any case, I'm thinking about updating the dependencies in the future +</I>><i> (I own one of them and the other one is an internal project, for the +</I>><i> time being). +</I>><i> +</I>><i> Thanks for the tip. +</I>><i> +</I>><i> Cheers. +</I>><i> +</I>><i> - Paulo F. Oliveira +</I>><i> +</I>><i> +</I>><i> On 5 August 2014 21:55, Loïc Hoguin <<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A> +</I>><i> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>>> wrote: +</I>><i> +</I>><i> You can easily send 422 and return halt instead of returning false +</I>><i> if you need to keep that, it'll just be 2 lines instead of 1. :) +</I>><i> +</I>><i> On 08/05/2014 10:33 PM, Paulo F. Oliveira wrote: +</I>><i> +</I>><i> Hi, Federico. +</I>><i> +</I>><i> Check this out for the "why" regarding your question: +</I>><i> <A HREF="https://github.com/ninenines/__cowboy/issues/715">https://github.com/ninenines/__cowboy/issues/715</A> +</I>><i> <<A HREF="https://github.com/ninenines/cowboy/issues/715">https://github.com/ninenines/cowboy/issues/715</A>> +</I>><i> +</I>><i> It's one of the reasons (I haven't detected others yet) stopping +</I>><i> me from +</I>><i> moving to 1.0, unfortunately (I have some projects depending on +</I>><i> these +</I>><i> status codes already), but as soon as I have some time and look +</I>><i> at all +</I>><i> the _major_ differences between 0.9.0 and 1.0 I think I'll make the +</I>><i> move. For the time being, I have found no issues with the REST +</I>><i> part of +</I>><i> cowboy (the one I use). +</I>><i> +</I>><i> Thank you, Loïc et all for the effort and for keeping it open +</I>><i> source. +</I>><i> +</I>><i> Regards. +</I>><i> +</I>><i> - Paulo F. Oliveira +</I>><i> +</I>><i> +</I>><i> On 5 August 2014 15:18, Federico Carrone +</I>><i> <<A HREF="https://lists.ninenines.eu/listinfo/extend">federico.carrone at gmail.com</A> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">federico.carrone at gmail.com</A>> +</I>><i> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">federico.carrone at __gmail.com</A> +</I>><i> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">federico.carrone at gmail.com</A>>>> wrote: +</I>><i> +</I>><i> Congratulations Loic. I really love cowboy. +</I>><i> +</I>><i> I got only one question: Why did you change the reply with 400 +</I>><i> instead of 422 in cowboy_rest for unprocessable entities? +</I>><i> +</I>><i> Regards, +</I>><i> Federico. +</I>><i> +</I>><i> +</I>><i> +</I>><i> On Tue, Aug 5, 2014 at 10:33 AM, Max Lapshin +</I>><i> <<A HREF="https://lists.ninenines.eu/listinfo/extend">max.lapshin at gmail.com</A> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">max.lapshin at gmail.com</A>> +</I>><i> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">max.lapshin at gmail.com</A> +</I>><i> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">max.lapshin at gmail.com</A>>>__> wrote: +</I>><i> +</I>><i> Loic, it is very cool! +</I>><i> +</I>><i> Thanks. +</I>><i> +</I>><i> _________________________________________________ +</I>><i> erlang-questions mailing list +</I>><i> <A HREF="https://lists.ninenines.eu/listinfo/extend">erlang-questions at erlang.org</A> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">erlang-questions at erlang.org</A>> +</I>><i> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">erlang-questions at __erlang.org</A> +</I>><i> <mailto:<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</A> +</I>><i> <<A HREF="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/listinfo/erlang-questions</A>> +</I>><i> +</I>><i> +</I>><i> +</I>><i> +</I>><i> -- +</I>><i> <A HREF="http://federicocarrone.com/">http://federicocarrone.com/</A> +</I>><i> +</I>><i> _________________________________________________ +</I>><i> erlang-questions mailing list +</I>><i> <A HREF="https://lists.ninenines.eu/listinfo/extend">erlang-questions at erlang.org</A> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">erlang-questions at erlang.org</A>> +</I>><i> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">erlang-questions at __erlang.org</A> +</I>><i> <mailto:<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</A> +</I>><i> <<A HREF="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/listinfo/erlang-questions</A>> +</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> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A>> +</I>><i> <A HREF="https://lists.ninenines.eu/__listinfo/extend">https://lists.ninenines.eu/__listinfo/extend</A> +</I>><i> <<A HREF="https://lists.ninenines.eu/listinfo/extend">https://lists.ninenines.eu/listinfo/extend</A>> +</I>><i> +</I>><i> +</I>><i> -- +</I>><i> Loïc Hoguin +</I>><i> <A HREF="http://ninenines.eu">http://ninenines.eu</A> +</I>><i> +</I>><i> +</I> +-- +Loïc Hoguin +<A HREF="http://ninenines.eu">http://ninenines.eu</A> +</PRE> + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000432.html">[99s-extend] [erlang-questions] [ANN] Cowboy 1.0 +</A></li> + <LI>Next message: <A HREF="000428.html">[99s-extend] [erlang-questions] [ANN] Cowboy 1.0 +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#433">[ date ]</a> + <a href="thread.html#433">[ thread ]</a> + <a href="subject.html#433">[ subject ]</a> + <a href="author.html#433">[ 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/2014-August/000434.html b/archives/extend/2014-August/000434.html new file mode 100644 index 00000000..36bae6c2 --- /dev/null +++ b/archives/extend/2014-August/000434.html @@ -0,0 +1,72 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] eunit suppoort in erlang.mk? + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20eunit%20suppoort%20in%20erlang.mk%3F&In-Reply-To=%3CCAAgJJDuQ4RLXMU7YB3CK6ZvE7RcOyGO1-Xwa4736r1HYyhDOmQ%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="000429.html"> + <LINK REL="Next" HREF="000435.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] eunit suppoort in erlang.mk?</H1> + <B>Michael Wittig</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20eunit%20suppoort%20in%20erlang.mk%3F&In-Reply-To=%3CCAAgJJDuQ4RLXMU7YB3CK6ZvE7RcOyGO1-Xwa4736r1HYyhDOmQ%40mail.gmail.com%3E" + TITLE="[99s-extend] eunit suppoort in erlang.mk?">michael.wittig at tullius-walden.com + </A><BR> + <I>Wed Aug 13 11:17:51 CEST 2014</I> + <P><UL> + <LI>Previous message: <A HREF="000429.html">[99s-extend] [erlang-questions] [ANN] Cowboy 1.0 +</A></li> + <LI>Next message: <A HREF="000435.html">[99s-extend] couldn't quit in Erlang 17.1 +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#434">[ date ]</a> + <a href="thread.html#434">[ thread ]</a> + <a href="subject.html#434">[ subject ]</a> + <a href="author.html#434">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>hi, + +is it possible to run eunit tests when executing make tests? +I have my tests directly in the modules (e.g. xyz_server) + +Regards, + +Michael +-------------- next part -------------- +An HTML attachment was scrubbed... +URL: <<A HREF="http://lists.ninenines.eu/archives/extend/attachments/20140813/7903a29a/attachment.html">http://lists.ninenines.eu/archives/extend/attachments/20140813/7903a29a/attachment.html</A>> +</PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000429.html">[99s-extend] [erlang-questions] [ANN] Cowboy 1.0 +</A></li> + <LI>Next message: <A HREF="000435.html">[99s-extend] couldn't quit in Erlang 17.1 +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#434">[ date ]</a> + <a href="thread.html#434">[ thread ]</a> + <a href="subject.html#434">[ subject ]</a> + <a href="author.html#434">[ 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/2014-August/000435.html b/archives/extend/2014-August/000435.html new file mode 100644 index 00000000..c1d359f5 --- /dev/null +++ b/archives/extend/2014-August/000435.html @@ -0,0 +1,100 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] couldn't quit in Erlang 17.1 + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20couldn%27t%20quit%20in%20Erlang%2017.1&In-Reply-To=%3C159B6EFE-5869-4503-ADD7-5547D8A0A6B2%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="000434.html"> + <LINK REL="Next" HREF="000436.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] couldn't quit in Erlang 17.1</H1> + <B>chaehb</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20couldn%27t%20quit%20in%20Erlang%2017.1&In-Reply-To=%3C159B6EFE-5869-4503-ADD7-5547D8A0A6B2%40gmail.com%3E" + TITLE="[99s-extend] couldn't quit in Erlang 17.1">chaehb at gmail.com + </A><BR> + <I>Thu Aug 14 03:20:05 CEST 2014</I> + <P><UL> + <LI>Previous message: <A HREF="000434.html">[99s-extend] eunit suppoort in erlang.mk? +</A></li> + <LI>Next message: <A HREF="000436.html">[99s-extend] cowboy_rest and response headers +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#435">[ date ]</a> + <a href="thread.html#435">[ thread ]</a> + <a href="subject.html#435">[ subject ]</a> + <a href="author.html#435">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE> +On 2014. 7. 27., at 오후 6:25, Loïc Hoguin <<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>> wrote: + +><i> Does it happen with ssl_hello_world? +</I>><i> +</I>><i> On 07/26/2014 09:06 AM, chaehb wrote: +</I>>><i> Hi, everybody. +</I>>><i> +</I>>><i> After Erlang updated to 17.1, +</I>>><i> when I run q(). command on erlang console, cowboy couldn't quitted but print series of messages.. +</I>>><i> +</I>>><i> (after ok signal printed) +</I>>><i> +</I>>><i> …... +</I>>><i> =ERROR REPORT==== 26-Jul-2014::15:23:33 === +</I>>><i> Error in process <0.334.0> on node ‘...my node name...' with exit value: {{case_clause,{error,closed}},[{ranch_acceptor,loop,3,[{file,"src/ranch_acceptor.erl"},{line,28}]}]} +</I>>><i> …. +</I>>><i> +</I>>><i> Before erlang updated (in 17.0), application could be normally quitted exactly same codes and environments. +</I>>><i> +</I>>><i> This is only appeared when I only use ssl(https). +</I>>><i> But when use only http with same dispatch rules, cowboy normally quitted. +</I>>><i> +</I> +I’ve try to do more tests with ssl_hello_world in cowboy(v1.0) and various Erlang/OTP versions. + +If ErlangOTP < 17.0, http/https works fine. +If ErlangOTP >= 17.1(17.1.x,17.2 in github), http works fine but with https the same errors appeared. + +***** +When I edited ranch_accepter.erl > line 40 + {error, Reason} when Reason =/= closed -> + to + {error, Reason} -> +, +https work and app was normally quitted. + +When I printed, Reason == closed. + +</PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000434.html">[99s-extend] eunit suppoort in erlang.mk? +</A></li> + <LI>Next message: <A HREF="000436.html">[99s-extend] cowboy_rest and response headers +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#435">[ date ]</a> + <a href="thread.html#435">[ thread ]</a> + <a href="subject.html#435">[ subject ]</a> + <a href="author.html#435">[ 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/2014-August/000436.html b/archives/extend/2014-August/000436.html new file mode 100644 index 00000000..b4c2d29d --- /dev/null +++ b/archives/extend/2014-August/000436.html @@ -0,0 +1,73 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] cowboy_rest and response headers + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20cowboy_rest%20and%20response%20headers&In-Reply-To=%3C16D8B25C-9FED-4688-8710-8B0811A8A4F6%40tuli.pe%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="000435.html"> + <LINK REL="Next" HREF="000437.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] cowboy_rest and response headers</H1> + <B>Camille Troillard</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20cowboy_rest%20and%20response%20headers&In-Reply-To=%3C16D8B25C-9FED-4688-8710-8B0811A8A4F6%40tuli.pe%3E" + TITLE="[99s-extend] cowboy_rest and response headers">lists at tuli.pe + </A><BR> + <I>Thu Aug 14 17:44:25 CEST 2014</I> + <P><UL> + <LI>Previous message: <A HREF="000435.html">[99s-extend] couldn't quit in Erlang 17.1 +</A></li> + <LI>Next message: <A HREF="000437.html">[99s-extend] cowboy_rest and response headers +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#436">[ date ]</a> + <a href="thread.html#436">[ thread ]</a> + <a href="subject.html#436">[ subject ]</a> + <a href="author.html#436">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Hello, + +I would like to set a Content-Range header in the response of a HEAD request. +Can I do that within the context of a cowboy_rest handler? +Ideally, I wish to let cowboy_rest reply and just specify this additional header. + + +Best, +Camille +-------------- next part -------------- +An HTML attachment was scrubbed... +URL: <<A HREF="http://lists.ninenines.eu/archives/extend/attachments/20140814/64f862ef/attachment.html">http://lists.ninenines.eu/archives/extend/attachments/20140814/64f862ef/attachment.html</A>> +</PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000435.html">[99s-extend] couldn't quit in Erlang 17.1 +</A></li> + <LI>Next message: <A HREF="000437.html">[99s-extend] cowboy_rest and response headers +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#436">[ date ]</a> + <a href="thread.html#436">[ thread ]</a> + <a href="subject.html#436">[ subject ]</a> + <a href="author.html#436">[ 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/2014-August/000437.html b/archives/extend/2014-August/000437.html new file mode 100644 index 00000000..2face141 --- /dev/null +++ b/archives/extend/2014-August/000437.html @@ -0,0 +1,86 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] cowboy_rest and response headers + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20cowboy_rest%20and%20response%20headers&In-Reply-To=%3C53ECDAB1.8060504%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="000436.html"> + <LINK REL="Next" HREF="000438.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] cowboy_rest and response headers</H1> + <B>Loïc Hoguin</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20cowboy_rest%20and%20response%20headers&In-Reply-To=%3C53ECDAB1.8060504%40ninenines.eu%3E" + TITLE="[99s-extend] cowboy_rest and response headers">essen at ninenines.eu + </A><BR> + <I>Thu Aug 14 17:50:09 CEST 2014</I> + <P><UL> + <LI>Previous message: <A HREF="000436.html">[99s-extend] cowboy_rest and response headers +</A></li> + <LI>Next message: <A HREF="000438.html">[99s-extend] How to use the PUT verb with Cowboy_Rest ? +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#437">[ date ]</a> + <a href="thread.html#437">[ thread ]</a> + <a href="subject.html#437">[ subject ]</a> + <a href="author.html#437">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Use cowboy_req:set_resp_header and return the Req this function gives you. + +On 08/14/2014 05:44 PM, Camille Troillard wrote: +><i> Hello, +</I>><i> +</I>><i> I would like to set a Content-Range header in the response of a HEAD +</I>><i> request. +</I>><i> Can I do that within the context of a cowboy_rest handler? +</I>><i> Ideally, I wish to let cowboy_rest reply and just specify this +</I>><i> additional header. +</I>><i> +</I>><i> +</I>><i> Best, +</I>><i> Camille +</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="https://lists.ninenines.eu/listinfo/extend">https://lists.ninenines.eu/listinfo/extend</A> +</I>><i> +</I> +-- +Loïc Hoguin +<A HREF="http://ninenines.eu">http://ninenines.eu</A> +</PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000436.html">[99s-extend] cowboy_rest and response headers +</A></li> + <LI>Next message: <A HREF="000438.html">[99s-extend] How to use the PUT verb with Cowboy_Rest ? +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#437">[ date ]</a> + <a href="thread.html#437">[ thread ]</a> + <a href="subject.html#437">[ subject ]</a> + <a href="author.html#437">[ 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/2014-August/000438.html b/archives/extend/2014-August/000438.html new file mode 100644 index 00000000..dd24c8ba --- /dev/null +++ b/archives/extend/2014-August/000438.html @@ -0,0 +1,84 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] How to use the PUT verb with Cowboy_Rest ? + </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%20use%20the%20PUT%20verb%20with%20Cowboy_Rest%20%3F&In-Reply-To=%3C273F5C1E-4CAF-4BD6-8229-64EA2788E970%40wirtel.be%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="000437.html"> + <LINK REL="Next" HREF="000439.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] How to use the PUT verb with Cowboy_Rest ?</H1> + <B>Stéphane Wirtel</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20How%20to%20use%20the%20PUT%20verb%20with%20Cowboy_Rest%20%3F&In-Reply-To=%3C273F5C1E-4CAF-4BD6-8229-64EA2788E970%40wirtel.be%3E" + TITLE="[99s-extend] How to use the PUT verb with Cowboy_Rest ?">stephane at wirtel.be + </A><BR> + <I>Sun Aug 24 01:58:12 CEST 2014</I> + <P><UL> + <LI>Previous message: <A HREF="000437.html">[99s-extend] cowboy_rest and response headers +</A></li> + <LI>Next message: <A HREF="000439.html">[99s-extend] How to use the PUT verb with Cowboy_Rest ? +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#438">[ date ]</a> + <a href="thread.html#438">[ thread ]</a> + <a href="subject.html#438">[ subject ]</a> + <a href="author.html#438">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Hi all, + +1. I would like to use the cowboy_rest protocol with cowboy 1.0 but I +have a small crash. + +Here is my code: + +<A HREF="https://www.friendpaste.com/7O3X4fG4u31gBg9MgW5xg4">https://www.friendpaste.com/7O3X4fG4u31gBg9MgW5xg4</A> + +Could you tell me if I correctly use cowboy_rest for the PUT verb? I +have seen is_conflict/2, but I don't know how to use it. + +2. I would like to change the response code, but I get the error. Is it +possible? + +Thank you. + +Regards, + +Stephane + +-- +Stéphane Wirtel - <A HREF="http://wirtel.be">http://wirtel.be</A> - @matrixise +</PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000437.html">[99s-extend] cowboy_rest and response headers +</A></li> + <LI>Next message: <A HREF="000439.html">[99s-extend] How to use the PUT verb with Cowboy_Rest ? +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#438">[ date ]</a> + <a href="thread.html#438">[ thread ]</a> + <a href="subject.html#438">[ subject ]</a> + <a href="author.html#438">[ 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/2014-August/000439.html b/archives/extend/2014-August/000439.html new file mode 100644 index 00000000..c9839bc6 --- /dev/null +++ b/archives/extend/2014-August/000439.html @@ -0,0 +1,103 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] How to use the PUT verb with Cowboy_Rest ? + </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%20use%20the%20PUT%20verb%20with%20Cowboy_Rest%20%3F&In-Reply-To=%3CCAJCf5RxAZR2jx3Bf-XmYMPYs-i4rk8-Ba4xYqMWv%3DAjM3P33SQ%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="000438.html"> + <LINK REL="Next" HREF="000440.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] How to use the PUT verb with Cowboy_Rest ?</H1> + <B>Daniel Goertzen</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20How%20to%20use%20the%20PUT%20verb%20with%20Cowboy_Rest%20%3F&In-Reply-To=%3CCAJCf5RxAZR2jx3Bf-XmYMPYs-i4rk8-Ba4xYqMWv%3DAjM3P33SQ%40mail.gmail.com%3E" + TITLE="[99s-extend] How to use the PUT verb with Cowboy_Rest ?">daniel.goertzen at gmail.com + </A><BR> + <I>Sun Aug 24 02:16:02 CEST 2014</I> + <P><UL> + <LI>Previous message: <A HREF="000438.html">[99s-extend] How to use the PUT verb with Cowboy_Rest ? +</A></li> + <LI>Next message: <A HREF="000440.html">[99s-extend] How to use the PUT verb with Cowboy_Rest ? +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#439">[ date ]</a> + <a href="thread.html#439">[ thread ]</a> + <a href="subject.html#439">[ subject ]</a> + <a href="author.html#439">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>You should implement the resource_exists() callback; this will let the rest +module pick a 200 vs 201. If the db name was incorrect, I think you are +just supposed to return false from the put callback. I can't remember the +http code for that case. + +Regards, +Dan. + + +On Sat, Aug 23, 2014 at 6:58 PM, Stéphane Wirtel <<A HREF="https://lists.ninenines.eu/listinfo/extend">stephane at wirtel.be</A>> wrote: + +><i> Hi all, +</I>><i> +</I>><i> 1. I would like to use the cowboy_rest protocol with cowboy 1.0 but I have +</I>><i> a small crash. +</I>><i> +</I>><i> Here is my code: +</I>><i> +</I>><i> <A HREF="https://www.friendpaste.com/7O3X4fG4u31gBg9MgW5xg4">https://www.friendpaste.com/7O3X4fG4u31gBg9MgW5xg4</A> +</I>><i> +</I>><i> Could you tell me if I correctly use cowboy_rest for the PUT verb? I have +</I>><i> seen is_conflict/2, but I don't know how to use it. +</I>><i> +</I>><i> 2. I would like to change the response code, but I get the error. Is it +</I>><i> possible? +</I>><i> +</I>><i> Thank you. +</I>><i> +</I>><i> Regards, +</I>><i> +</I>><i> Stephane +</I>><i> +</I>><i> -- +</I>><i> Stéphane Wirtel - <A HREF="http://wirtel.be">http://wirtel.be</A> - @matrixise +</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="https://lists.ninenines.eu/listinfo/extend">https://lists.ninenines.eu/listinfo/extend</A> +</I>><i> +</I>-------------- next part -------------- +An HTML attachment was scrubbed... +URL: <<A HREF="http://lists.ninenines.eu/archives/extend/attachments/20140823/51e1d345/attachment.html">http://lists.ninenines.eu/archives/extend/attachments/20140823/51e1d345/attachment.html</A>> +</PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000438.html">[99s-extend] How to use the PUT verb with Cowboy_Rest ? +</A></li> + <LI>Next message: <A HREF="000440.html">[99s-extend] How to use the PUT verb with Cowboy_Rest ? +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#439">[ date ]</a> + <a href="thread.html#439">[ thread ]</a> + <a href="subject.html#439">[ subject ]</a> + <a href="author.html#439">[ 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/2014-August/000440.html b/archives/extend/2014-August/000440.html new file mode 100644 index 00000000..0e83b7ce --- /dev/null +++ b/archives/extend/2014-August/000440.html @@ -0,0 +1,120 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] How to use the PUT verb with Cowboy_Rest ? + </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%20use%20the%20PUT%20verb%20with%20Cowboy_Rest%20%3F&In-Reply-To=%3C5C66851E-7B69-426A-9444-51C81E8EBE59%40wirtel.be%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="000439.html"> + <LINK REL="Next" HREF="000441.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] How to use the PUT verb with Cowboy_Rest ?</H1> + <B>Stéphane Wirtel</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20How%20to%20use%20the%20PUT%20verb%20with%20Cowboy_Rest%20%3F&In-Reply-To=%3C5C66851E-7B69-426A-9444-51C81E8EBE59%40wirtel.be%3E" + TITLE="[99s-extend] How to use the PUT verb with Cowboy_Rest ?">stephane at wirtel.be + </A><BR> + <I>Sun Aug 24 02:22:22 CEST 2014</I> + <P><UL> + <LI>Previous message: <A HREF="000439.html">[99s-extend] How to use the PUT verb with Cowboy_Rest ? +</A></li> + <LI>Next message: <A HREF="000441.html">[99s-extend] How to use the PUT verb with Cowboy_Rest ? +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#440">[ date ]</a> + <a href="thread.html#440">[ thread ]</a> + <a href="subject.html#440">[ subject ]</a> + <a href="author.html#440">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>resource_exists is used by POST +is_conflict is used by PUT (from the code) +but in the case where my database already exists, I need to return 412 +and not 409. + +and I know I don't respect the default value returned by Cowboy_rest. + +On 24 Aug 2014, at 2:16, Daniel Goertzen wrote: + +><i> You should implement the resource_exists() callback; this will let the +</I>><i> rest +</I>><i> module pick a 200 vs 201. If the db name was incorrect, I think you +</I>><i> are +</I>><i> just supposed to return false from the put callback. I can't remember +</I>><i> the +</I>><i> http code for that case. +</I>><i> +</I>><i> Regards, +</I>><i> Dan. +</I>><i> +</I>><i> +</I>><i> On Sat, Aug 23, 2014 at 6:58 PM, Stéphane Wirtel <<A HREF="https://lists.ninenines.eu/listinfo/extend">stephane at wirtel.be</A>> +</I>><i> wrote: +</I>><i> +</I>>><i> Hi all, +</I>>><i> +</I>>><i> 1. I would like to use the cowboy_rest protocol with cowboy 1.0 but I +</I>>><i> have +</I>>><i> a small crash. +</I>>><i> +</I>>><i> Here is my code: +</I>>><i> +</I>>><i> <A HREF="https://www.friendpaste.com/7O3X4fG4u31gBg9MgW5xg4">https://www.friendpaste.com/7O3X4fG4u31gBg9MgW5xg4</A> +</I>>><i> +</I>>><i> Could you tell me if I correctly use cowboy_rest for the PUT verb? I +</I>>><i> have +</I>>><i> seen is_conflict/2, but I don't know how to use it. +</I>>><i> +</I>>><i> 2. I would like to change the response code, but I get the error. Is +</I>>><i> it +</I>>><i> possible? +</I>>><i> +</I>>><i> Thank you. +</I>>><i> +</I>>><i> Regards, +</I>>><i> +</I>>><i> Stephane +</I>>><i> +</I>>><i> -- +</I>>><i> Stéphane Wirtel - <A HREF="http://wirtel.be">http://wirtel.be</A> - @matrixise +</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="https://lists.ninenines.eu/listinfo/extend">https://lists.ninenines.eu/listinfo/extend</A> +</I>>><i> +</I> + +-- +Stéphane Wirtel - <A HREF="http://wirtel.be">http://wirtel.be</A> - @matrixise +</PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000439.html">[99s-extend] How to use the PUT verb with Cowboy_Rest ? +</A></li> + <LI>Next message: <A HREF="000441.html">[99s-extend] How to use the PUT verb with Cowboy_Rest ? +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#440">[ date ]</a> + <a href="thread.html#440">[ thread ]</a> + <a href="subject.html#440">[ subject ]</a> + <a href="author.html#440">[ 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/2014-August/000441.html b/archives/extend/2014-August/000441.html new file mode 100644 index 00000000..8d0063bb --- /dev/null +++ b/archives/extend/2014-August/000441.html @@ -0,0 +1,139 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] How to use the PUT verb with Cowboy_Rest ? + </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%20use%20the%20PUT%20verb%20with%20Cowboy_Rest%20%3F&In-Reply-To=%3CCAKAMJXhPm0vZdTrhW3Zg%3DzyowQzc0AczhptyTAVyX404pvc3XA%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="000440.html"> + <LINK REL="Next" HREF="000442.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] How to use the PUT verb with Cowboy_Rest ?</H1> + <B>Eduardo Gurgel</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20How%20to%20use%20the%20PUT%20verb%20with%20Cowboy_Rest%20%3F&In-Reply-To=%3CCAKAMJXhPm0vZdTrhW3Zg%3DzyowQzc0AczhptyTAVyX404pvc3XA%40mail.gmail.com%3E" + TITLE="[99s-extend] How to use the PUT verb with Cowboy_Rest ?">edgurgel at gmail.com + </A><BR> + <I>Sun Aug 24 02:25:54 CEST 2014</I> + <P><UL> + <LI>Previous message: <A HREF="000440.html">[99s-extend] How to use the PUT verb with Cowboy_Rest ? +</A></li> + <LI>Next message: <A HREF="000442.html">[99s-extend] How to use the PUT verb with Cowboy_Rest ? +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#441">[ date ]</a> + <a href="thread.html#441">[ thread ]</a> + <a href="subject.html#441">[ subject ]</a> + <a href="author.html#441">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>I think you can always halt the processing and do the reply by yourself: + +{ok, Req2} = cowboy_req:reply(412, Req), +{halt, Req2, State}. + + +On Sun, Aug 24, 2014 at 12:22 PM, Stéphane Wirtel <<A HREF="https://lists.ninenines.eu/listinfo/extend">stephane at wirtel.be</A>> +wrote: + +><i> resource_exists is used by POST +</I>><i> is_conflict is used by PUT (from the code) +</I>><i> but in the case where my database already exists, I need to return 412 and +</I>><i> not 409. +</I>><i> +</I>><i> and I know I don't respect the default value returned by Cowboy_rest. +</I>><i> +</I>><i> +</I>><i> On 24 Aug 2014, at 2:16, Daniel Goertzen wrote: +</I>><i> +</I>><i> You should implement the resource_exists() callback; this will let the +</I>>><i> rest +</I>>><i> module pick a 200 vs 201. If the db name was incorrect, I think you are +</I>>><i> just supposed to return false from the put callback. I can't remember the +</I>>><i> http code for that case. +</I>>><i> +</I>>><i> Regards, +</I>>><i> Dan. +</I>>><i> +</I>>><i> +</I>>><i> On Sat, Aug 23, 2014 at 6:58 PM, Stéphane Wirtel <<A HREF="https://lists.ninenines.eu/listinfo/extend">stephane at wirtel.be</A>> +</I>>><i> wrote: +</I>>><i> +</I>>><i> Hi all, +</I>>>><i> +</I>>>><i> 1. I would like to use the cowboy_rest protocol with cowboy 1.0 but I +</I>>>><i> have +</I>>>><i> a small crash. +</I>>>><i> +</I>>>><i> Here is my code: +</I>>>><i> +</I>>>><i> <A HREF="https://www.friendpaste.com/7O3X4fG4u31gBg9MgW5xg4">https://www.friendpaste.com/7O3X4fG4u31gBg9MgW5xg4</A> +</I>>>><i> +</I>>>><i> Could you tell me if I correctly use cowboy_rest for the PUT verb? I have +</I>>>><i> seen is_conflict/2, but I don't know how to use it. +</I>>>><i> +</I>>>><i> 2. I would like to change the response code, but I get the error. Is it +</I>>>><i> possible? +</I>>>><i> +</I>>>><i> Thank you. +</I>>>><i> +</I>>>><i> Regards, +</I>>>><i> +</I>>>><i> Stephane +</I>>>><i> +</I>>>><i> -- +</I>>>><i> Stéphane Wirtel - <A HREF="http://wirtel.be">http://wirtel.be</A> - @matrixise +</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="https://lists.ninenines.eu/listinfo/extend">https://lists.ninenines.eu/listinfo/extend</A> +</I>>>><i> +</I>>>><i> +</I>><i> +</I>><i> -- +</I>><i> Stéphane Wirtel - <A HREF="http://wirtel.be">http://wirtel.be</A> - @matrixise +</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="https://lists.ninenines.eu/listinfo/extend">https://lists.ninenines.eu/listinfo/extend</A> +</I>><i> +</I> + + +-- +Eduardo +-------------- next part -------------- +An HTML attachment was scrubbed... +URL: <<A HREF="http://lists.ninenines.eu/archives/extend/attachments/20140824/89d3a7f6/attachment.html">http://lists.ninenines.eu/archives/extend/attachments/20140824/89d3a7f6/attachment.html</A>> +</PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000440.html">[99s-extend] How to use the PUT verb with Cowboy_Rest ? +</A></li> + <LI>Next message: <A HREF="000442.html">[99s-extend] How to use the PUT verb with Cowboy_Rest ? +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#441">[ date ]</a> + <a href="thread.html#441">[ thread ]</a> + <a href="subject.html#441">[ subject ]</a> + <a href="author.html#441">[ 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/2014-August/000442.html b/archives/extend/2014-August/000442.html new file mode 100644 index 00000000..5c15d766 --- /dev/null +++ b/archives/extend/2014-August/000442.html @@ -0,0 +1,135 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] How to use the PUT verb with Cowboy_Rest ? + </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%20use%20the%20PUT%20verb%20with%20Cowboy_Rest%20%3F&In-Reply-To=%3C864BDA07-F0F6-43A3-8D6C-12056DFE6C5E%40wirtel.be%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="000441.html"> + <LINK REL="Next" HREF="000443.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] How to use the PUT verb with Cowboy_Rest ?</H1> + <B>Stephane Wirtel</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20How%20to%20use%20the%20PUT%20verb%20with%20Cowboy_Rest%20%3F&In-Reply-To=%3C864BDA07-F0F6-43A3-8D6C-12056DFE6C5E%40wirtel.be%3E" + TITLE="[99s-extend] How to use the PUT verb with Cowboy_Rest ?">stephane at wirtel.be + </A><BR> + <I>Sun Aug 24 02:52:58 CEST 2014</I> + <P><UL> + <LI>Previous message: <A HREF="000441.html">[99s-extend] How to use the PUT verb with Cowboy_Rest ? +</A></li> + <LI>Next message: <A HREF="000443.html">[99s-extend] Full example of cowboy_rest? +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#442">[ date ]</a> + <a href="thread.html#442">[ thread ]</a> + <a href="subject.html#442">[ subject ]</a> + <a href="author.html#442">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Ok I will try asap, thanks + +><i> On 24 août 2014, at 02:25 AM, Eduardo Gurgel <<A HREF="https://lists.ninenines.eu/listinfo/extend">edgurgel at gmail.com</A>> wrote: +</I>><i> +</I>><i> I think you can always halt the processing and do the reply by yourself: +</I>><i> +</I>><i> {ok, Req2} = cowboy_req:reply(412, Req), +</I>><i> {halt, Req2, State}. +</I>><i> +</I>><i> +</I>>><i> On Sun, Aug 24, 2014 at 12:22 PM, Stéphane Wirtel <<A HREF="https://lists.ninenines.eu/listinfo/extend">stephane at wirtel.be</A>> wrote: +</I>>><i> resource_exists is used by POST +</I>>><i> is_conflict is used by PUT (from the code) +</I>>><i> but in the case where my database already exists, I need to return 412 and not 409. +</I>>><i> +</I>>><i> and I know I don't respect the default value returned by Cowboy_rest. +</I>>><i> +</I>>><i> +</I>>><i> On 24 Aug 2014, at 2:16, Daniel Goertzen wrote: +</I>>><i> +</I>>>><i> You should implement the resource_exists() callback; this will let the rest +</I>>>><i> module pick a 200 vs 201. If the db name was incorrect, I think you are +</I>>>><i> just supposed to return false from the put callback. I can't remember the +</I>>>><i> http code for that case. +</I>>>><i> +</I>>>><i> Regards, +</I>>>><i> Dan. +</I>>>><i> +</I>>>><i> +</I>>>><i> On Sat, Aug 23, 2014 at 6:58 PM, Stéphane Wirtel <<A HREF="https://lists.ninenines.eu/listinfo/extend">stephane at wirtel.be</A>> wrote: +</I>>>><i> +</I>>>>><i> Hi all, +</I>>>>><i> +</I>>>>><i> 1. I would like to use the cowboy_rest protocol with cowboy 1.0 but I have +</I>>>>><i> a small crash. +</I>>>>><i> +</I>>>>><i> Here is my code: +</I>>>>><i> +</I>>>>><i> <A HREF="https://www.friendpaste.com/7O3X4fG4u31gBg9MgW5xg4">https://www.friendpaste.com/7O3X4fG4u31gBg9MgW5xg4</A> +</I>>>>><i> +</I>>>>><i> Could you tell me if I correctly use cowboy_rest for the PUT verb? I have +</I>>>>><i> seen is_conflict/2, but I don't know how to use it. +</I>>>>><i> +</I>>>>><i> 2. I would like to change the response code, but I get the error. Is it +</I>>>>><i> possible? +</I>>>>><i> +</I>>>>><i> Thank you. +</I>>>>><i> +</I>>>>><i> Regards, +</I>>>>><i> +</I>>>>><i> Stephane +</I>>>>><i> +</I>>>>><i> -- +</I>>>>><i> Stéphane Wirtel - <A HREF="http://wirtel.be">http://wirtel.be</A> - @matrixise +</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="https://lists.ninenines.eu/listinfo/extend">https://lists.ninenines.eu/listinfo/extend</A> +</I>>><i> +</I>>><i> +</I>>><i> -- +</I>>><i> Stéphane Wirtel - <A HREF="http://wirtel.be">http://wirtel.be</A> - @matrixise +</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="https://lists.ninenines.eu/listinfo/extend">https://lists.ninenines.eu/listinfo/extend</A> +</I>><i> +</I>><i> +</I>><i> +</I>><i> -- +</I>><i> Eduardo +</I>-------------- next part -------------- +An HTML attachment was scrubbed... +URL: <<A HREF="http://lists.ninenines.eu/archives/extend/attachments/20140824/f35e1e51/attachment.html">http://lists.ninenines.eu/archives/extend/attachments/20140824/f35e1e51/attachment.html</A>> +</PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000441.html">[99s-extend] How to use the PUT verb with Cowboy_Rest ? +</A></li> + <LI>Next message: <A HREF="000443.html">[99s-extend] Full example of cowboy_rest? +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#442">[ date ]</a> + <a href="thread.html#442">[ thread ]</a> + <a href="subject.html#442">[ subject ]</a> + <a href="author.html#442">[ 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/2014-August/000443.html b/archives/extend/2014-August/000443.html new file mode 100644 index 00000000..d36a6858 --- /dev/null +++ b/archives/extend/2014-August/000443.html @@ -0,0 +1,85 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] Full example of cowboy_rest? + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Full%20example%20of%20cowboy_rest%3F&In-Reply-To=%3CE2ADBA0D-9198-4933-A50E-0675C1CD4FFF%40wirtel.be%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="000442.html"> + <LINK REL="Next" HREF="000444.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] Full example of cowboy_rest?</H1> + <B>Stéphane Wirtel</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Full%20example%20of%20cowboy_rest%3F&In-Reply-To=%3CE2ADBA0D-9198-4933-A50E-0675C1CD4FFF%40wirtel.be%3E" + TITLE="[99s-extend] Full example of cowboy_rest?">stephane at wirtel.be + </A><BR> + <I>Sun Aug 24 11:54:58 CEST 2014</I> + <P><UL> + <LI>Previous message: <A HREF="000442.html">[99s-extend] How to use the PUT verb with Cowboy_Rest ? +</A></li> + <LI>Next message: <A HREF="000444.html">[99s-extend] Full example of cowboy_rest? +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#443">[ date ]</a> + <a href="thread.html#443">[ thread ]</a> + <a href="subject.html#443">[ subject ]</a> + <a href="author.html#443">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Hi all, + +Do you have a concrete example of cowboy_rest ? with POST, GET, HEAD, +PUT and DELETE ? + +POST will use resource_exists and allow_missing_post +PUT will use is_conflict +DELETE delete_resource, etc... + +Currently, I started with the example with put_json and get_json and in +the functions, I fetch the Method and I use the pattern matching with +the Method, but I think it's not the right solution. + +What are the best practices? + +The examples in the repository of cowboy don't cover all the +possibilities of a simple rest api with these verbs. + +Thanks in advance, + +Stephane + +-- +Stéphane Wirtel - <A HREF="http://wirtel.be">http://wirtel.be</A> - @matrixise +</PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000442.html">[99s-extend] How to use the PUT verb with Cowboy_Rest ? +</A></li> + <LI>Next message: <A HREF="000444.html">[99s-extend] Full example of cowboy_rest? +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#443">[ date ]</a> + <a href="thread.html#443">[ thread ]</a> + <a href="subject.html#443">[ subject ]</a> + <a href="author.html#443">[ 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/2014-August/000444.html b/archives/extend/2014-August/000444.html new file mode 100644 index 00000000..036f90f6 --- /dev/null +++ b/archives/extend/2014-August/000444.html @@ -0,0 +1,126 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] Full example of cowboy_rest? + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Full%20example%20of%20cowboy_rest%3F&In-Reply-To=%3CCA%2BdV7cQXP3wEq5bn%3D3qWQ2EKuR39WZsRHCS%2B4Q1wgvLgDucjng%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="000443.html"> + <LINK REL="Next" HREF="000445.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] Full example of cowboy_rest?</H1> + <B>Paulo F. Oliveira</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Full%20example%20of%20cowboy_rest%3F&In-Reply-To=%3CCA%2BdV7cQXP3wEq5bn%3D3qWQ2EKuR39WZsRHCS%2B4Q1wgvLgDucjng%40mail.gmail.com%3E" + TITLE="[99s-extend] Full example of cowboy_rest?">paulo.ferraz.oliveira at gmail.com + </A><BR> + <I>Tue Aug 26 01:11:44 CEST 2014</I> + <P><UL> + <LI>Previous message: <A HREF="000443.html">[99s-extend] Full example of cowboy_rest? +</A></li> + <LI>Next message: <A HREF="000445.html">[99s-extend] cowboy_rest and delete_completed and response +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#444">[ date ]</a> + <a href="thread.html#444">[ thread ]</a> + <a href="subject.html#444">[ subject ]</a> + <a href="author.html#444">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Hello, Stéphane. + +On 24 August 2014 10:54, Stéphane Wirtel <<A HREF="https://lists.ninenines.eu/listinfo/extend">stephane at wirtel.be</A>> wrote: +><i> +</I>><i> Hi all, +</I>><i> +</I>><i> Do you have a concrete example of cowboy_rest ? with POST, GET, HEAD, PUT and DELETE ? +</I> +AFAIK, from the official examples, the correct answer is "no", there +is no "complete" example (does it even make sense to have one?). + +On the other hand, I've been using Cowboy for a couple of months now, +and find these docs (REST flowcharts - +<A HREF="http://ninenines.eu/docs/en/cowboy/1.0/guide/rest_flowcharts/">http://ninenines.eu/docs/en/cowboy/1.0/guide/rest_flowcharts/</A>) to be +very useful, and they might also help you. You should find the time to +read the complete REST guide/manual as a lot of useful information can +be found there and a very nice effort was put into not wasting words +and going straight to the point. + +... + +><i> What are the best practices? +</I> +For what specifically? + +><i> The examples in the repository of cowboy don't cover all the possibilities of a simple rest api with these verbs. +</I> +That is a fact. I, for one, tend to have a _template_ source code file +from where I get the functions that I need (only not to have to write +2/3 lines of code every time), and that I "chain" looking at the +flowcharts. [I also have a lib for JSON parsing and validating, query +string validation, etc...] This might not always be very easy (to +"chain" it all together, but it shouldn't be that hard either"), but +my approach is usually "OK, so I want a route to have GET, PUT and +DELETE... what are the related methods that I'll most probably +require? resource_exists (serves all methods), is_conflict (serves +PUT), delete_resource (serves DELETE), delete_completed (serves +DELETE)" and then I think about replying with a body or not (in the +case of GET there will almost always be a body, in the case of PUT +your method call might result in a 204 and in the case of DELETE there +may or not be a body). I then code the methods, test the API, checking +that the codes I get make sense (404, 200, 409, 204, 202, ... +depending on the conditions I want set) and then slightly document +this for the users of the API (if the API is complicated and requires +a lot of documentation there might be something wrong with it). For +documentation purposes you can either go with a "[VERB] route +accepts...?..., serves...?..., and the result codes are...?..." simple +doc or something more elaborate like +<A HREF="https://helloreverb.com/developers/swagger.">https://helloreverb.com/developers/swagger.</A> + +Hope it helps. + +- Paulo F. Oliveira + +><i> +</I>><i> Thanks in advance, +</I>><i> +</I>><i> Stephane +</I>><i> +</I>><i> -- +</I>><i> Stéphane Wirtel - <A HREF="http://wirtel.be">http://wirtel.be</A> - @matrixise +</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="https://lists.ninenines.eu/listinfo/extend">https://lists.ninenines.eu/listinfo/extend</A> +</I></PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000443.html">[99s-extend] Full example of cowboy_rest? +</A></li> + <LI>Next message: <A HREF="000445.html">[99s-extend] cowboy_rest and delete_completed and response +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#444">[ date ]</a> + <a href="thread.html#444">[ thread ]</a> + <a href="subject.html#444">[ subject ]</a> + <a href="author.html#444">[ 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/2014-August/000445.html b/archives/extend/2014-August/000445.html new file mode 100644 index 00000000..766b45ae --- /dev/null +++ b/archives/extend/2014-August/000445.html @@ -0,0 +1,88 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] cowboy_rest and delete_completed and response + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20cowboy_rest%20and%20delete_completed%20and%20response&In-Reply-To=%3C1E843973-E0BD-41FA-AC69-53BEECAD5489%40wirtel.be%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="000444.html"> + <LINK REL="Next" HREF="000446.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] cowboy_rest and delete_completed and response</H1> + <B>Stéphane Wirtel</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20cowboy_rest%20and%20delete_completed%20and%20response&In-Reply-To=%3C1E843973-E0BD-41FA-AC69-53BEECAD5489%40wirtel.be%3E" + TITLE="[99s-extend] cowboy_rest and delete_completed and response">stephane at wirtel.be + </A><BR> + <I>Tue Aug 26 23:59:50 CEST 2014</I> + <P><UL> + <LI>Previous message: <A HREF="000444.html">[99s-extend] Full example of cowboy_rest? +</A></li> + <LI>Next message: <A HREF="000446.html">[99s-extend] cowboy_rest and delete_completed and response +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#445">[ date ]</a> + <a href="thread.html#445">[ thread ]</a> + <a href="subject.html#445">[ subject ]</a> + <a href="author.html#445">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Hi all, + +I work with two content-types (json, msgpack). + +In the DELETE verb, I need to return an object and in this case, I work +on delete_resource/2 and delete_completed/2. +The problem is, how can I return a body in function of the content-type? +because after delete_completed, there is a call to the +cowboy_rest:has_resp_body function and I need to set the body of the +response. + +delete_completed(Req, State) -> + Body = Json or MsgPack ? <-- Which content ? + + Req2 = cowboy_req:set_resp_body(Body, Req), + {true, Req2, State}. + +Ok, but in this case, what's the reason of content_types_provided/2 and +content_types_accepted/2 ? + +Thank you, + +Stephane + + +-- +Stéphane Wirtel - <A HREF="http://wirtel.be">http://wirtel.be</A> - @matrixise +</PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000444.html">[99s-extend] Full example of cowboy_rest? +</A></li> + <LI>Next message: <A HREF="000446.html">[99s-extend] cowboy_rest and delete_completed and response +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#445">[ date ]</a> + <a href="thread.html#445">[ thread ]</a> + <a href="subject.html#445">[ subject ]</a> + <a href="author.html#445">[ 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/2014-August/000446.html b/archives/extend/2014-August/000446.html new file mode 100644 index 00000000..c5345323 --- /dev/null +++ b/archives/extend/2014-August/000446.html @@ -0,0 +1,99 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] cowboy_rest and delete_completed and response + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20cowboy_rest%20and%20delete_completed%20and%20response&In-Reply-To=%3C53FD0441.1070701%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="000445.html"> + <LINK REL="Next" HREF="000447.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] cowboy_rest and delete_completed and response</H1> + <B>Loïc Hoguin</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20cowboy_rest%20and%20delete_completed%20and%20response&In-Reply-To=%3C53FD0441.1070701%40ninenines.eu%3E" + TITLE="[99s-extend] cowboy_rest and delete_completed and response">essen at ninenines.eu + </A><BR> + <I>Wed Aug 27 00:03:45 CEST 2014</I> + <P><UL> + <LI>Previous message: <A HREF="000445.html">[99s-extend] cowboy_rest and delete_completed and response +</A></li> + <LI>Next message: <A HREF="000447.html">[99s-extend] cowboy_rest and delete_completed and response +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#446">[ date ]</a> + <a href="thread.html#446">[ thread ]</a> + <a href="subject.html#446">[ subject ]</a> + <a href="author.html#446">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Call cowboy_req:meta(media_type, Req) to retrieve it. + +On 08/27/2014 12:59 AM, Stéphane Wirtel wrote: +><i> Hi all, +</I>><i> +</I>><i> I work with two content-types (json, msgpack). +</I>><i> +</I>><i> In the DELETE verb, I need to return an object and in this case, I work +</I>><i> on delete_resource/2 and delete_completed/2. +</I>><i> The problem is, how can I return a body in function of the content-type? +</I>><i> because after delete_completed, there is a call to the +</I>><i> cowboy_rest:has_resp_body function and I need to set the body of the +</I>><i> response. +</I>><i> +</I>><i> delete_completed(Req, State) -> +</I>><i> Body = Json or MsgPack ? <-- Which content ? +</I>><i> +</I>><i> Req2 = cowboy_req:set_resp_body(Body, Req), +</I>><i> {true, Req2, State}. +</I>><i> +</I>><i> Ok, but in this case, what's the reason of content_types_provided/2 and +</I>><i> content_types_accepted/2 ? +</I>><i> +</I>><i> Thank you, +</I>><i> +</I>><i> Stephane +</I>><i> +</I>><i> +</I>><i> -- +</I>><i> Stéphane Wirtel - <A HREF="http://wirtel.be">http://wirtel.be</A> - @matrixise +</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="https://lists.ninenines.eu/listinfo/extend">https://lists.ninenines.eu/listinfo/extend</A> +</I> +-- +Loïc Hoguin +<A HREF="http://ninenines.eu">http://ninenines.eu</A> +</PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000445.html">[99s-extend] cowboy_rest and delete_completed and response +</A></li> + <LI>Next message: <A HREF="000447.html">[99s-extend] cowboy_rest and delete_completed and response +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#446">[ date ]</a> + <a href="thread.html#446">[ thread ]</a> + <a href="subject.html#446">[ subject ]</a> + <a href="author.html#446">[ 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/2014-August/000447.html b/archives/extend/2014-August/000447.html new file mode 100644 index 00000000..6feb64ff --- /dev/null +++ b/archives/extend/2014-August/000447.html @@ -0,0 +1,130 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] cowboy_rest and delete_completed and response + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20cowboy_rest%20and%20delete_completed%20and%20response&In-Reply-To=%3C90BE6FF2-659A-487A-AB91-C968658CE3D3%40wirtel.be%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="000446.html"> + <LINK REL="Next" HREF="000448.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] cowboy_rest and delete_completed and response</H1> + <B>Stéphane Wirtel</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20cowboy_rest%20and%20delete_completed%20and%20response&In-Reply-To=%3C90BE6FF2-659A-487A-AB91-C968658CE3D3%40wirtel.be%3E" + TITLE="[99s-extend] cowboy_rest and delete_completed and response">stephane at wirtel.be + </A><BR> + <I>Wed Aug 27 00:12:00 CEST 2014</I> + <P><UL> + <LI>Previous message: <A HREF="000446.html">[99s-extend] cowboy_rest and delete_completed and response +</A></li> + <LI>Next message: <A HREF="000448.html">[99s-extend] I need your feedback about this cowboy_rest handler. +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#447">[ date ]</a> + <a href="thread.html#447">[ thread ]</a> + <a href="subject.html#447">[ subject ]</a> + <a href="author.html#447">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>What's the purpose of the callbacks in content_types_accepted and +content_types_provided? + +I prefer set the response in the State to the callbacks and they convert +it to the right format. + +Example: + +delete_completed(Req, State) -> + Response = [{<<"ok">>, <<"dbname">>}], + {true, Req, State#state{response=Response}}. + +get_json(Req, #{response=Response}=State) -> + Body = jsx:encode(Response), + {Body, Req, State}. + +get_msgpack(Req, #{response=Response}=State) -> + Body = msgpack:pack(Response, [{format, jsx}], + {Body, Req, State}. + + + +On 27 Aug 2014, at 0:03, Loïc Hoguin wrote: + +><i> Call cowboy_req:meta(media_type, Req) to retrieve it. +</I>><i> +</I>><i> On 08/27/2014 12:59 AM, Stéphane Wirtel wrote: +</I>>><i> Hi all, +</I>>><i> +</I>>><i> I work with two content-types (json, msgpack). +</I>>><i> +</I>>><i> In the DELETE verb, I need to return an object and in this case, I +</I>>><i> work +</I>>><i> on delete_resource/2 and delete_completed/2. +</I>>><i> The problem is, how can I return a body in function of the +</I>>><i> content-type? +</I>>><i> because after delete_completed, there is a call to the +</I>>><i> cowboy_rest:has_resp_body function and I need to set the body of the +</I>>><i> response. +</I>>><i> +</I>>><i> delete_completed(Req, State) -> +</I>>><i> Body = Json or MsgPack ? <-- Which content ? +</I>>><i> +</I>>><i> Req2 = cowboy_req:set_resp_body(Body, Req), +</I>>><i> {true, Req2, State}. +</I>>><i> +</I>>><i> Ok, but in this case, what's the reason of content_types_provided/2 +</I>>><i> and +</I>>><i> content_types_accepted/2 ? +</I>>><i> +</I>>><i> Thank you, +</I>>><i> +</I>>><i> Stephane +</I>>><i> +</I>>><i> +</I>>><i> -- +</I>>><i> Stéphane Wirtel - <A HREF="http://wirtel.be">http://wirtel.be</A> - @matrixise +</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="https://lists.ninenines.eu/listinfo/extend">https://lists.ninenines.eu/listinfo/extend</A> +</I>><i> +</I>><i> -- +</I>><i> Loïc Hoguin +</I>><i> <A HREF="http://ninenines.eu">http://ninenines.eu</A> +</I> + +-- +Stéphane Wirtel - <A HREF="http://wirtel.be">http://wirtel.be</A> - @matrixise +</PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000446.html">[99s-extend] cowboy_rest and delete_completed and response +</A></li> + <LI>Next message: <A HREF="000448.html">[99s-extend] I need your feedback about this cowboy_rest handler. +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#447">[ date ]</a> + <a href="thread.html#447">[ thread ]</a> + <a href="subject.html#447">[ subject ]</a> + <a href="author.html#447">[ 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/2014-August/000448.html b/archives/extend/2014-August/000448.html new file mode 100644 index 00000000..8197f220 --- /dev/null +++ b/archives/extend/2014-August/000448.html @@ -0,0 +1,142 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] I need your feedback about this cowboy_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%20I%20need%20your%20feedback%20about%20this%20cowboy_rest%20handler.&In-Reply-To=%3CC5A27633-46B8-47E3-816C-BFB44584E6CC%40wirtel.be%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="000447.html"> + <LINK REL="Next" HREF="000449.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] I need your feedback about this cowboy_rest handler.</H1> + <B>Stéphane Wirtel</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20I%20need%20your%20feedback%20about%20this%20cowboy_rest%20handler.&In-Reply-To=%3CC5A27633-46B8-47E3-816C-BFB44584E6CC%40wirtel.be%3E" + TITLE="[99s-extend] I need your feedback about this cowboy_rest handler.">stephane at wirtel.be + </A><BR> + <I>Wed Aug 27 11:29:46 CEST 2014</I> + <P><UL> + <LI>Previous message: <A HREF="000447.html">[99s-extend] cowboy_rest and delete_completed and response +</A></li> + <LI>Next message: <A HREF="000449.html">[99s-extend] I need your feedback about this cowboy_rest handler. +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#448">[ date ]</a> + <a href="thread.html#448">[ thread ]</a> + <a href="subject.html#448">[ subject ]</a> + <a href="author.html#448">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Hi all, + +This night, I wrote an example because I wanted to show you my work. + +I have one handler for the concept of collections (in this case, tasks). + +In this handler, I want these following methods: + +POST /:collection +GET /:collection +DELETE /:collection +PUT /:collection +HEAD /:collection + +:<i>collection is a string, example: /tasks1 +</I> +HEAD /:collection (/tasks1) +StatusCode: + * 200 ok + * 404 not found + +GET /:collection (/tasks1) +Gets information about the collection +StatusCode: + * 200 ok + * 404 not found + +PUT /:collection (/tasks1) +Create a new collection of tasks +Status_Code: + * 201 created + Response: an object, in msgpack or json and I need to had a location +header + * 412 precondition failed, the collection name already exists + Response: an object, in msgpack or json with the error (already exists) + +POST /:collection (/tasks1) +Add a new item in the collection, a new task +StatusCode: + * 201 created + * 202 accepted + * 404 not found (error in the collection name) +Response: need to add a location header and return an object in msgpack +or json. + +DELETE /:collection (/tasks1) +Delete all the tasks +Status_Code: + * 200 ok. + * 404 not found +In the case of 200, we need to return an object in msgpack or json. + + +I provided a code and If you can help me, because I think cowboy_rest is +a good solution, but I also think I will have some problems with my +service. + +Examples: +* delete_completed, I need to write the serialisation in the +delete_completed function and not with the help of the defined callbacks +of content_types_provided. +* for PUT, I need to return a location header, should I add it in the +is_conflict +function? +* for PUT, how I have a 201? I have read the rest_flowchart and I need +to specify the location header ok, but where? in the is_conflict +function? + +So, do you have time to help me, because with this example, I can +propose it to the cowboy repository. +<A HREF="https://github.com/matrixise/demo_rest/blob/master/src/collection_handler.erl">https://github.com/matrixise/demo_rest/blob/master/src/collection_handler.erl</A> + +You can propose your PR, comments or remarks, but I would like to use +cowboy_rest. + +Regards, + +Stephane + +-- +Stéphane Wirtel - <A HREF="http://wirtel.be">http://wirtel.be</A> - @matrixise +</PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000447.html">[99s-extend] cowboy_rest and delete_completed and response +</A></li> + <LI>Next message: <A HREF="000449.html">[99s-extend] I need your feedback about this cowboy_rest handler. +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#448">[ date ]</a> + <a href="thread.html#448">[ thread ]</a> + <a href="subject.html#448">[ subject ]</a> + <a href="author.html#448">[ 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/2014-August/000449.html b/archives/extend/2014-August/000449.html new file mode 100644 index 00000000..059b0783 --- /dev/null +++ b/archives/extend/2014-August/000449.html @@ -0,0 +1,167 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] I need your feedback about this cowboy_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%20I%20need%20your%20feedback%20about%20this%20cowboy_rest%0A%09handler.&In-Reply-To=%3C53FDACFD.7020204%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="000448.html"> + <LINK REL="Next" HREF="000450.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] I need your feedback about this cowboy_rest handler.</H1> + <B>Loïc Hoguin</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20I%20need%20your%20feedback%20about%20this%20cowboy_rest%0A%09handler.&In-Reply-To=%3C53FDACFD.7020204%40ninenines.eu%3E" + TITLE="[99s-extend] I need your feedback about this cowboy_rest handler.">essen at ninenines.eu + </A><BR> + <I>Wed Aug 27 12:03:41 CEST 2014</I> + <P><UL> + <LI>Previous message: <A HREF="000448.html">[99s-extend] I need your feedback about this cowboy_rest handler. +</A></li> + <LI>Next message: <A HREF="000450.html">[99s-extend] I need your feedback about this cowboy_rest handler. +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#449">[ date ]</a> + <a href="thread.html#449">[ thread ]</a> + <a href="subject.html#449">[ subject ]</a> + <a href="author.html#449">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Hey, + +On 08/27/2014 12:29 PM, Stéphane Wirtel wrote: +><i> Hi all, +</I>><i> +</I>><i> This night, I wrote an example because I wanted to show you my work. +</I>><i> +</I>><i> I have one handler for the concept of collections (in this case, tasks). +</I>><i> +</I>><i> In this handler, I want these following methods: +</I>><i> +</I>><i> POST /:collection +</I>><i> GET /:collection +</I>><i> DELETE /:collection +</I>><i> PUT /:collection +</I>><i> HEAD /:collection +</I>><i> +</I>><i> :collection is a string, example: /tasks1 +</I>><i> +</I>><i> HEAD /:collection (/tasks1) +</I>><i> StatusCode: +</I>><i> * 200 ok +</I>><i> * 404 not found +</I>><i> +</I>><i> GET /:collection (/tasks1) +</I>><i> Gets information about the collection +</I>><i> StatusCode: +</I>><i> * 200 ok +</I>><i> * 404 not found +</I>><i> +</I>><i> PUT /:collection (/tasks1) +</I>><i> Create a new collection of tasks +</I>><i> Status_Code: +</I>><i> * 201 created +</I>><i> Response: an object, in msgpack or json and I need to had a +</I>><i> location header +</I>><i> * 412 precondition failed, the collection name already exists +</I>><i> Response: an object, in msgpack or json with the error (already +</I>><i> exists) +</I>><i> +</I>><i> POST /:collection (/tasks1) +</I>><i> Add a new item in the collection, a new task +</I>><i> StatusCode: +</I>><i> * 201 created +</I>><i> * 202 accepted +</I>><i> * 404 not found (error in the collection name) +</I>><i> Response: need to add a location header and return an object in msgpack +</I>><i> or json. +</I>><i> +</I>><i> DELETE /:collection (/tasks1) +</I>><i> Delete all the tasks +</I>><i> Status_Code: +</I>><i> * 200 ok. +</I>><i> * 404 not found +</I>><i> In the case of 200, we need to return an object in msgpack or json. +</I>><i> +</I>><i> +</I>><i> I provided a code and If you can help me, because I think cowboy_rest is +</I>><i> a good solution, but I also think I will have some problems with my +</I>><i> service. +</I>><i> +</I>><i> Examples: +</I>><i> * delete_completed, I need to write the serialisation in the +</I>><i> delete_completed function and not with the help of the defined callbacks +</I>><i> of content_types_provided. +</I> +What's the problem? The callbacks you set in content_types_provided are +there to provide the *resource*. If you set a body in response to the +DELETE method you are not sending the resource but information about the +result of the operation. + +><i> * for PUT, I need to return a location header, should I add it in the +</I>><i> is_conflict +</I>><i> function? +</I> +I would say in the callback you set in content_types_accepted. But... + +><i> * for PUT, how I have a 201? I have read the rest_flowchart and I need +</I>><i> to specify the location header ok, but where? in the is_conflict function? +</I> +Why do you need a 201? If you PUT a collection to /:collection then this +is already the location of the collection. I am not sure what you are +trying to do there exactly? + +><i> So, do you have time to help me, because with this example, I can +</I>><i> propose it to the cowboy repository. +</I>><i> <A HREF="https://github.com/matrixise/demo_rest/blob/master/src/collection_handler.erl">https://github.com/matrixise/demo_rest/blob/master/src/collection_handler.erl</A> +</I>><i> +</I>><i> +</I>><i> You can propose your PR, comments or remarks, but I would like to use +</I>><i> cowboy_rest. +</I>><i> +</I>><i> Regards, +</I>><i> +</I>><i> Stephane +</I>><i> +</I>><i> -- +</I>><i> Stéphane Wirtel - <A HREF="http://wirtel.be">http://wirtel.be</A> - @matrixise +</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="https://lists.ninenines.eu/listinfo/extend">https://lists.ninenines.eu/listinfo/extend</A> +</I> +-- +Loïc Hoguin +<A HREF="http://ninenines.eu">http://ninenines.eu</A> +</PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000448.html">[99s-extend] I need your feedback about this cowboy_rest handler. +</A></li> + <LI>Next message: <A HREF="000450.html">[99s-extend] I need your feedback about this cowboy_rest handler. +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#449">[ date ]</a> + <a href="thread.html#449">[ thread ]</a> + <a href="subject.html#449">[ subject ]</a> + <a href="author.html#449">[ 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/2014-August/000450.html b/archives/extend/2014-August/000450.html new file mode 100644 index 00000000..d1b5de08 --- /dev/null +++ b/archives/extend/2014-August/000450.html @@ -0,0 +1,168 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] I need your feedback about this cowboy_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%20I%20need%20your%20feedback%20about%20this%20cowboy_rest%0A%09handler.&In-Reply-To=%3CC563DB6C-5C79-4E13-929B-25C64B13DCD0%40wirtel.be%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="000449.html"> + <LINK REL="Next" HREF="000451.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] I need your feedback about this cowboy_rest handler.</H1> + <B>Stéphane Wirtel</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20I%20need%20your%20feedback%20about%20this%20cowboy_rest%0A%09handler.&In-Reply-To=%3CC563DB6C-5C79-4E13-929B-25C64B13DCD0%40wirtel.be%3E" + TITLE="[99s-extend] I need your feedback about this cowboy_rest handler.">stephane at wirtel.be + </A><BR> + <I>Wed Aug 27 12:35:33 CEST 2014</I> + <P><UL> + <LI>Previous message: <A HREF="000449.html">[99s-extend] I need your feedback about this cowboy_rest handler. +</A></li> + <LI>Next message: <A HREF="000451.html">[99s-extend] I need your feedback about this cowboy_rest handler. +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#450">[ date ]</a> + <a href="thread.html#450">[ thread ]</a> + <a href="subject.html#450">[ subject ]</a> + <a href="author.html#450">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>On 27 Aug 2014, at 12:03, Loïc Hoguin wrote: + +><i> Hey, +</I>><i> +</I>><i> On 08/27/2014 12:29 PM, Stéphane Wirtel wrote: +</I>>><i> Hi all, +</I>>><i> +</I>>><i> This night, I wrote an example because I wanted to show you my work. +</I>>><i> +</I>>><i> I have one handler for the concept of collections (in this case, +</I>>><i> tasks). +</I>>><i> +</I>>><i> In this handler, I want these following methods: +</I>>><i> +</I>>><i> POST /:collection +</I>>><i> GET /:collection +</I>>><i> DELETE /:collection +</I>>><i> PUT /:collection +</I>>><i> HEAD /:collection +</I>>><i> +</I>>><i> :collection is a string, example: /tasks1 +</I>>><i> +</I>>><i> HEAD /:collection (/tasks1) +</I>>><i> StatusCode: +</I>>><i> * 200 ok +</I>>><i> * 404 not found +</I>>><i> +</I>>><i> GET /:collection (/tasks1) +</I>>><i> Gets information about the collection +</I>>><i> StatusCode: +</I>>><i> * 200 ok +</I>>><i> * 404 not found +</I>>><i> +</I>>><i> PUT /:collection (/tasks1) +</I>>><i> Create a new collection of tasks +</I>>><i> Status_Code: +</I>>><i> * 201 created +</I>>><i> Response: an object, in msgpack or json and I need to had a +</I>>><i> location header +</I>>><i> * 412 precondition failed, the collection name already exists +</I>>><i> Response: an object, in msgpack or json with the error (already +</I>>><i> exists) +</I>>><i> +</I>>><i> POST /:collection (/tasks1) +</I>>><i> Add a new item in the collection, a new task +</I>>><i> StatusCode: +</I>>><i> * 201 created +</I>>><i> * 202 accepted +</I>>><i> * 404 not found (error in the collection name) +</I>>><i> Response: need to add a location header and return an object in +</I>>><i> msgpack +</I>>><i> or json. +</I>>><i> +</I>>><i> DELETE /:collection (/tasks1) +</I>>><i> Delete all the tasks +</I>>><i> Status_Code: +</I>>><i> * 200 ok. +</I>>><i> * 404 not found +</I>>><i> In the case of 200, we need to return an object in msgpack or json. +</I>>><i> +</I>>><i> +</I>>><i> I provided a code and If you can help me, because I think cowboy_rest +</I>>><i> is +</I>>><i> a good solution, but I also think I will have some problems with my +</I>>><i> service. +</I>>><i> +</I>>><i> Examples: +</I>>><i> * delete_completed, I need to write the serialisation in the +</I>>><i> delete_completed function and not with the help of the defined +</I>>><i> callbacks +</I>>><i> of content_types_provided. +</I>><i> +</I>><i> What's the problem? The callbacks you set in content_types_provided +</I>><i> are there to provide the *resource*. If you set a body in response to +</I>><i> the DELETE method you are not sending the resource but information +</I>><i> about the result of the operation. +</I>Ok, in this case, I understand. thanks +><i> +</I>>><i> * for PUT, I need to return a location header, should I add it in the +</I>>><i> is_conflict +</I>>><i> function? +</I>><i> +</I>><i> I would say in the callback you set in content_types_accepted. But... +</I>Works fine in the is_conflict function. +><i> +</I>>><i> * for PUT, how I have a 201? I have read the rest_flowchart and I +</I>>><i> need +</I>>><i> to specify the location header ok, but where? in the is_conflict +</I>>><i> function? +</I>><i> +</I>><i> Why do you need a 201? If you PUT a collection to /:collection then +</I>><i> this is already the location of the collection. I am not sure what you +</I>><i> are trying to do there exactly? +</I>In this case, the PUT method is used for the creation of the resource +and not for the update. This is the reason of the 201 status code. + +In the rest_flowchart graph for the PUT/POST methods, what is the node +"new resource" ? Is it just the {true, Req, State} from the callback +defined in the content_types_accepted? + +PS: I retested and now, I have my 201 with PUT, just resource_exists has +to return false and not true ;-) + +Thanks + +-- +Stéphane Wirtel - <A HREF="http://wirtel.be">http://wirtel.be</A> - @matrixise +</PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000449.html">[99s-extend] I need your feedback about this cowboy_rest handler. +</A></li> + <LI>Next message: <A HREF="000451.html">[99s-extend] I need your feedback about this cowboy_rest handler. +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#450">[ date ]</a> + <a href="thread.html#450">[ thread ]</a> + <a href="subject.html#450">[ subject ]</a> + <a href="author.html#450">[ 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/2014-August/000451.html b/archives/extend/2014-August/000451.html new file mode 100644 index 00000000..4920b429 --- /dev/null +++ b/archives/extend/2014-August/000451.html @@ -0,0 +1,86 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] I need your feedback about this cowboy_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%20I%20need%20your%20feedback%20about%20this%20cowboy_rest%0A%09handler.&In-Reply-To=%3C53FDB89F.2080308%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="000450.html"> + <LINK REL="Next" HREF="000452.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] I need your feedback about this cowboy_rest handler.</H1> + <B>Loïc Hoguin</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20I%20need%20your%20feedback%20about%20this%20cowboy_rest%0A%09handler.&In-Reply-To=%3C53FDB89F.2080308%40ninenines.eu%3E" + TITLE="[99s-extend] I need your feedback about this cowboy_rest handler.">essen at ninenines.eu + </A><BR> + <I>Wed Aug 27 12:53:19 CEST 2014</I> + <P><UL> + <LI>Previous message: <A HREF="000450.html">[99s-extend] I need your feedback about this cowboy_rest handler. +</A></li> + <LI>Next message: <A HREF="000452.html">[99s-extend] I need your feedback about this cowboy_rest handler. +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#451">[ date ]</a> + <a href="thread.html#451">[ thread ]</a> + <a href="subject.html#451">[ subject ]</a> + <a href="author.html#451">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>>>><i> * for PUT, how I have a 201? I have read the rest_flowchart and I need +</I>>>><i> to specify the location header ok, but where? in the is_conflict +</I>>>><i> function? +</I>>><i> +</I>>><i> Why do you need a 201? If you PUT a collection to /:collection then +</I>>><i> this is already the location of the collection. I am not sure what you +</I>>><i> are trying to do there exactly? +</I>><i> In this case, the PUT method is used for the creation of the resource +</I>><i> and not for the update. This is the reason of the 201 status code. +</I>><i> +</I>><i> In the rest_flowchart graph for the PUT/POST methods, what is the node +</I>><i> "new resource" ? Is it just the {true, Req, State} from the callback +</I>><i> defined in the content_types_accepted? +</I>><i> +</I>><i> PS: I retested and now, I have my 201 with PUT, just resource_exists has +</I>><i> to return false and not true ;-) +</I> +My bad I was a little confusing in my previous answer. You are right, if +the resource doesn't exist and PUT is used we get a 201 automatically. +The location header must only be provided if the resource was created +elsewhere. + +-- +Loïc Hoguin +<A HREF="http://ninenines.eu">http://ninenines.eu</A> +</PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000450.html">[99s-extend] I need your feedback about this cowboy_rest handler. +</A></li> + <LI>Next message: <A HREF="000452.html">[99s-extend] I need your feedback about this cowboy_rest handler. +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#451">[ date ]</a> + <a href="thread.html#451">[ thread ]</a> + <a href="subject.html#451">[ subject ]</a> + <a href="author.html#451">[ 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/2014-August/000452.html b/archives/extend/2014-August/000452.html new file mode 100644 index 00000000..02b6f225 --- /dev/null +++ b/archives/extend/2014-August/000452.html @@ -0,0 +1,96 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] I need your feedback about this cowboy_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%20I%20need%20your%20feedback%20about%20this%20cowboy_rest%0A%09handler.&In-Reply-To=%3C426265B5-9DC3-4068-A377-C3B4441A6F45%40wirtel.be%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="000451.html"> + <LINK REL="Next" HREF="000457.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] I need your feedback about this cowboy_rest handler.</H1> + <B>Stéphane Wirtel</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20I%20need%20your%20feedback%20about%20this%20cowboy_rest%0A%09handler.&In-Reply-To=%3C426265B5-9DC3-4068-A377-C3B4441A6F45%40wirtel.be%3E" + TITLE="[99s-extend] I need your feedback about this cowboy_rest handler.">stephane at wirtel.be + </A><BR> + <I>Wed Aug 27 15:26:11 CEST 2014</I> + <P><UL> + <LI>Previous message: <A HREF="000451.html">[99s-extend] I need your feedback about this cowboy_rest handler. +</A></li> + <LI>Next message: <A HREF="000457.html">[99s-extend] I need your feedback about this cowboy_rest handler. +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#452">[ date ]</a> + <a href="thread.html#452">[ thread ]</a> + <a href="subject.html#452">[ subject ]</a> + <a href="author.html#452">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>On 27 Aug 2014, at 12:53, Loïc Hoguin wrote: + +>>>><i> * for PUT, how I have a 201? I have read the rest_flowchart and I +</I>>>>><i> need +</I>>>>><i> to specify the location header ok, but where? in the is_conflict +</I>>>>><i> function? +</I>>>><i> +</I>>>><i> Why do you need a 201? If you PUT a collection to /:collection then +</I>>>><i> this is already the location of the collection. I am not sure what +</I>>>><i> you +</I>>>><i> are trying to do there exactly? +</I>>><i> In this case, the PUT method is used for the creation of the resource +</I>>><i> and not for the update. This is the reason of the 201 status code. +</I>>><i> +</I>>><i> In the rest_flowchart graph for the PUT/POST methods, what is the +</I>>><i> node +</I>>><i> "new resource" ? Is it just the {true, Req, State} from the callback +</I>>><i> defined in the content_types_accepted? +</I>>><i> +</I>>><i> PS: I retested and now, I have my 201 with PUT, just resource_exists +</I>>><i> has +</I>>><i> to return false and not true ;-) +</I>><i> +</I>><i> My bad I was a little confusing in my previous answer. You are right, +</I>><i> if the resource doesn't exist and PUT is used we get a 201 +</I>><i> automatically. The location header must only be provided if the +</I>><i> resource was created elsewhere. +</I> +Don't worry and thank you for your answers. + +Stephane + +-- +Stéphane Wirtel - <A HREF="http://wirtel.be">http://wirtel.be</A> - @matrixise +</PRE> + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000451.html">[99s-extend] I need your feedback about this cowboy_rest handler. +</A></li> + <LI>Next message: <A HREF="000457.html">[99s-extend] I need your feedback about this cowboy_rest handler. +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#452">[ date ]</a> + <a href="thread.html#452">[ thread ]</a> + <a href="subject.html#452">[ subject ]</a> + <a href="author.html#452">[ 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/2014-August/000453.html b/archives/extend/2014-August/000453.html new file mode 100644 index 00000000..02c722fa --- /dev/null +++ b/archives/extend/2014-August/000453.html @@ -0,0 +1,90 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] Which erlang.mk? + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Which%20erlang.mk%3F&In-Reply-To=%3CCA%2B_xk0k0LEftN%2BLmn-BaYpmxYaSYuaOq1Et%3D8cX_R5u3O_Kkng%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="000457.html"> + <LINK REL="Next" HREF="000454.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] Which erlang.mk?</H1> + <B>Brandon Clark</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Which%20erlang.mk%3F&In-Reply-To=%3CCA%2B_xk0k0LEftN%2BLmn-BaYpmxYaSYuaOq1Et%3D8cX_R5u3O_Kkng%40mail.gmail.com%3E" + TITLE="[99s-extend] Which erlang.mk?">a.brandon.clark at gmail.com + </A><BR> + <I>Wed Aug 27 21:06:25 CEST 2014</I> + <P><UL> + <LI>Previous message: <A HREF="000457.html">[99s-extend] I need your feedback about this cowboy_rest handler. +</A></li> + <LI>Next message: <A HREF="000454.html">[99s-extend] Which erlang.mk? +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#453">[ date ]</a> + <a href="thread.html#453">[ thread ]</a> + <a href="subject.html#453">[ subject ]</a> + <a href="author.html#453">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Greetings! + +I'm trying to resurrect one of my neglected ranch applications. It uses +Common Test, erlang.mk, and relx all in the usual way. When I run make +tests with all fresh dependencies, I get this: + +Doing /home/brandon/src/my_proj/deps/ranch... + +make[1]: *** No rule to make target `build-tests'. Stop. + +make: *** [build-deps-tests] Error 2 + + +A diff of my erlang.mk and deps/ranch/erlang.mk shows they are dramatically +different. Mine came from here just this morning: + +<A HREF="https://raw.*github.com">https://raw.*github.com</A> <<A HREF="http://github.com">http://github.com</A>>*/extend/ +erlang.mk/master/erlang.mk + +Which one is the "right" one for creating new apps? + + +Thank you! + +~BC +-------------- next part -------------- +An HTML attachment was scrubbed... +URL: <<A HREF="http://lists.ninenines.eu/archives/extend/attachments/20140827/91c1e017/attachment.html">http://lists.ninenines.eu/archives/extend/attachments/20140827/91c1e017/attachment.html</A>> +</PRE> + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000457.html">[99s-extend] I need your feedback about this cowboy_rest handler. +</A></li> + <LI>Next message: <A HREF="000454.html">[99s-extend] Which erlang.mk? +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#453">[ date ]</a> + <a href="thread.html#453">[ thread ]</a> + <a href="subject.html#453">[ subject ]</a> + <a href="author.html#453">[ 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/2014-August/000454.html b/archives/extend/2014-August/000454.html new file mode 100644 index 00000000..ce31faf5 --- /dev/null +++ b/archives/extend/2014-August/000454.html @@ -0,0 +1,114 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] Which erlang.mk? + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Which%20erlang.mk%3F&In-Reply-To=%3C53FE4D02.9050804%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="000453.html"> + <LINK REL="Next" HREF="000455.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] Which erlang.mk?</H1> + <B>Loïc Hoguin</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Which%20erlang.mk%3F&In-Reply-To=%3C53FE4D02.9050804%40ninenines.eu%3E" + TITLE="[99s-extend] Which erlang.mk?">essen at ninenines.eu + </A><BR> + <I>Wed Aug 27 23:26:26 CEST 2014</I> + <P><UL> + <LI>Previous message: <A HREF="000453.html">[99s-extend] Which erlang.mk? +</A></li> + <LI>Next message: <A HREF="000455.html">[99s-extend] cowboy_rest : PUT and resource_exists vs is_conflict ? +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#454">[ date ]</a> + <a href="thread.html#454">[ thread ]</a> + <a href="subject.html#454">[ subject ]</a> + <a href="author.html#454">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>The one you downloaded from github is the correct one. It's a new +version compared to the older one. A few small things changed, +including, in this case, that build-tests was renamed to something like +ct-build-tests (please open it to make sure of the name). + +The new version allows greater customization and has a better package +index feature and other things, but breaking compatibility with older +Makefiles. The new version is labeled 1 (beginning of erlang.mk file) +while the older one has no such label. + +On 08/27/2014 10:06 PM, Brandon Clark wrote: +><i> Greetings! +</I>><i> +</I>><i> I'm trying to resurrect one of my neglected ranch applications. It uses +</I>><i> Common Test, erlang.mk <<A HREF="http://erlang.mk">http://erlang.mk</A>>, and relx all in the usual +</I>><i> way. When I run make tests with all fresh dependencies, I get this: +</I>><i> +</I>><i> Doing /home/brandon/src/my_proj/deps/ranch... +</I>><i> +</I>><i> make[1]: *** No rule to make target `build-tests'. Stop. +</I>><i> +</I>><i> make: *** [build-deps-tests] Error 2 +</I>><i> +</I>><i> +</I>><i> A diff of my erlang.mk <<A HREF="http://erlang.mk">http://erlang.mk</A>> and deps/ranch/erlang.mk +</I>><i> <<A HREF="http://erlang.mk">http://erlang.mk</A>> shows they are dramatically different. Mine came +</I>><i> from here just this morning: +</I>><i> +</I>><i> <A HREF="https://raw._github.com">https://raw._github.com</A> +</I>><i> <<A HREF="http://github.com">http://github.com</A>>_/extend/erlang.mk/master/erlang.mk +</I>><i> <<A HREF="http://erlang.mk/master/erlang.mk">http://erlang.mk/master/erlang.mk</A>> +</I>><i> +</I>><i> Which one is the "right" one for creating new apps? +</I>><i> +</I>><i> +</I>><i> Thank you! +</I>><i> +</I>><i> ~BC +</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="https://lists.ninenines.eu/listinfo/extend">https://lists.ninenines.eu/listinfo/extend</A> +</I>><i> +</I> +-- +Loïc Hoguin +<A HREF="http://ninenines.eu">http://ninenines.eu</A> +</PRE> + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000453.html">[99s-extend] Which erlang.mk? +</A></li> + <LI>Next message: <A HREF="000455.html">[99s-extend] cowboy_rest : PUT and resource_exists vs is_conflict ? +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#454">[ date ]</a> + <a href="thread.html#454">[ thread ]</a> + <a href="subject.html#454">[ subject ]</a> + <a href="author.html#454">[ 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/2014-August/000455.html b/archives/extend/2014-August/000455.html new file mode 100644 index 00000000..0e2c3653 --- /dev/null +++ b/archives/extend/2014-August/000455.html @@ -0,0 +1,78 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] cowboy_rest : PUT and resource_exists vs is_conflict ? + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20cowboy_rest%20%3A%20PUT%20and%20resource_exists%20vs%20is_conflict%20%3F&In-Reply-To=%3C5F045BA1-B52D-43BD-8E61-061CD2B4DFC9%40wirtel.be%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="000454.html"> + <LINK REL="Next" HREF="000456.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] cowboy_rest : PUT and resource_exists vs is_conflict ?</H1> + <B>Stéphane Wirtel</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20cowboy_rest%20%3A%20PUT%20and%20resource_exists%20vs%20is_conflict%20%3F&In-Reply-To=%3C5F045BA1-B52D-43BD-8E61-061CD2B4DFC9%40wirtel.be%3E" + TITLE="[99s-extend] cowboy_rest : PUT and resource_exists vs is_conflict ?">stephane at wirtel.be + </A><BR> + <I>Wed Aug 27 23:41:25 CEST 2014</I> + <P><UL> + <LI>Previous message: <A HREF="000454.html">[99s-extend] Which erlang.mk? +</A></li> + <LI>Next message: <A HREF="000456.html">[99s-extend] cowboy_rest : PUT and resource_exists vs is_conflict ? +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#455">[ date ]</a> + <a href="thread.html#455">[ thread ]</a> + <a href="subject.html#455">[ subject ]</a> + <a href="author.html#455">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Hi all, + +For the PUT method, the flow is + +resource_exists +if method == PUT then go to the is_conflict function. +In each function, we need to check if the resource already exists or not. + +I think we check twice, is it normal? + +Thank you, + +Stephane + +-- +Stéphane Wirtel - <A HREF="http://wirtel.be">http://wirtel.be</A> - @matrixise +</PRE> + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000454.html">[99s-extend] Which erlang.mk? +</A></li> + <LI>Next message: <A HREF="000456.html">[99s-extend] cowboy_rest : PUT and resource_exists vs is_conflict ? +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#455">[ date ]</a> + <a href="thread.html#455">[ thread ]</a> + <a href="subject.html#455">[ subject ]</a> + <a href="author.html#455">[ 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/2014-August/000456.html b/archives/extend/2014-August/000456.html new file mode 100644 index 00000000..2d6772e6 --- /dev/null +++ b/archives/extend/2014-August/000456.html @@ -0,0 +1,94 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] cowboy_rest : PUT and resource_exists vs is_conflict ? + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20cowboy_rest%20%3A%20PUT%20and%20resource_exists%20vs%0A%20is_conflict%20%3F&In-Reply-To=%3C53FE5239.6080008%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="000455.html"> + + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] cowboy_rest : PUT and resource_exists vs is_conflict ?</H1> + <B>Loïc Hoguin</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20cowboy_rest%20%3A%20PUT%20and%20resource_exists%20vs%0A%20is_conflict%20%3F&In-Reply-To=%3C53FE5239.6080008%40ninenines.eu%3E" + TITLE="[99s-extend] cowboy_rest : PUT and resource_exists vs is_conflict ?">essen at ninenines.eu + </A><BR> + <I>Wed Aug 27 23:48:41 CEST 2014</I> + <P><UL> + <LI>Previous message: <A HREF="000455.html">[99s-extend] cowboy_rest : PUT and resource_exists vs is_conflict ? +</A></li> + + <LI> <B>Messages sorted by:</B> + <a href="date.html#456">[ date ]</a> + <a href="thread.html#456">[ thread ]</a> + <a href="subject.html#456">[ subject ]</a> + <a href="author.html#456">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>For some callbacks you may need to check but only if you need to perform +a different operation when it does/doesn't. For example if you write to +files a PUT is the same operation either way, but if you write to an SQL +DB you will want to do INSERT/UPDATE depending on that. Same goes for +is_conflict and others, it depends. + +So sometimes you need to keep that info around in the state and +sometimes you don't. + +On 08/28/2014 12:41 AM, Stéphane Wirtel wrote: +><i> Hi all, +</I>><i> +</I>><i> For the PUT method, the flow is +</I>><i> +</I>><i> resource_exists +</I>><i> if method == PUT then go to the is_conflict function. +</I>><i> In each function, we need to check if the resource already exists or not. +</I>><i> +</I>><i> I think we check twice, is it normal? +</I>><i> +</I>><i> Thank you, +</I>><i> +</I>><i> Stephane +</I>><i> +</I>><i> -- +</I>><i> Stéphane Wirtel - <A HREF="http://wirtel.be">http://wirtel.be</A> - @matrixise +</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="https://lists.ninenines.eu/listinfo/extend">https://lists.ninenines.eu/listinfo/extend</A> +</I>><i> +</I> +-- +Loïc Hoguin +<A HREF="http://ninenines.eu">http://ninenines.eu</A> +</PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000455.html">[99s-extend] cowboy_rest : PUT and resource_exists vs is_conflict ? +</A></li> + + <LI> <B>Messages sorted by:</B> + <a href="date.html#456">[ date ]</a> + <a href="thread.html#456">[ thread ]</a> + <a href="subject.html#456">[ subject ]</a> + <a href="author.html#456">[ 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/2014-August/000457.html b/archives/extend/2014-August/000457.html new file mode 100644 index 00000000..24b17abc --- /dev/null +++ b/archives/extend/2014-August/000457.html @@ -0,0 +1,111 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] I need your feedback about this cowboy_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%20I%20need%20your%20feedback%20about%20this%20cowboy_rest%0A%09handler.&In-Reply-To=%3CCA%2BdV7cRD-UszqUz9gv5KH4rtmW%2BgC6a7tEJYQco66i891%2BTqbg%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="000452.html"> + <LINK REL="Next" HREF="000453.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] I need your feedback about this cowboy_rest handler.</H1> + <B>Paulo F. Oliveira</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20I%20need%20your%20feedback%20about%20this%20cowboy_rest%0A%09handler.&In-Reply-To=%3CCA%2BdV7cRD-UszqUz9gv5KH4rtmW%2BgC6a7tEJYQco66i891%2BTqbg%40mail.gmail.com%3E" + TITLE="[99s-extend] I need your feedback about this cowboy_rest handler.">paulo.ferraz.oliveira at gmail.com + </A><BR> + <I>Sat Aug 30 00:15:56 CEST 2014</I> + <P><UL> + <LI>Previous message: <A HREF="000452.html">[99s-extend] I need your feedback about this cowboy_rest handler. +</A></li> + <LI>Next message: <A HREF="000453.html">[99s-extend] Which erlang.mk? +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#457">[ date ]</a> + <a href="thread.html#457">[ thread ]</a> + <a href="subject.html#457">[ subject ]</a> + <a href="author.html#457">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>PUT _should_ (there is no police here though) be used to either create +a resource or completely update it (it's refered to as "upsert" by +some; in Redis, for example, a similar concept would be "set"). +Partial modifications should be made using PATCH. POST is what is +commonly used to create a resource. According to +<A HREF="http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html">http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html</A> 412 is used +when "[t]he precondition given in one or more of the request-header +fields evaluated to false when it was tested on the server." (also: +<A HREF="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.24">http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.24</A>). + +- Paulo F. Oliveira + +On 27 August 2014 14:26, Stéphane Wirtel <<A HREF="https://lists.ninenines.eu/listinfo/extend">stephane at wirtel.be</A>> wrote: +><i> On 27 Aug 2014, at 12:53, Loïc Hoguin wrote: +</I>><i> +</I>>>>>><i> * for PUT, how I have a 201? I have read the rest_flowchart and I need +</I>>>>>><i> to specify the location header ok, but where? in the is_conflict +</I>>>>>><i> function? +</I>>>>><i> +</I>>>>><i> +</I>>>>><i> Why do you need a 201? If you PUT a collection to /:collection then +</I>>>>><i> this is already the location of the collection. I am not sure what you +</I>>>>><i> are trying to do there exactly? +</I>>>><i> +</I>>>><i> In this case, the PUT method is used for the creation of the resource +</I>>>><i> and not for the update. This is the reason of the 201 status code. +</I>>>><i> +</I>>>><i> In the rest_flowchart graph for the PUT/POST methods, what is the node +</I>>>><i> "new resource" ? Is it just the {true, Req, State} from the callback +</I>>>><i> defined in the content_types_accepted? +</I>>>><i> +</I>>>><i> PS: I retested and now, I have my 201 with PUT, just resource_exists has +</I>>>><i> to return false and not true ;-) +</I>>><i> +</I>>><i> +</I>>><i> My bad I was a little confusing in my previous answer. You are right, if +</I>>><i> the resource doesn't exist and PUT is used we get a 201 automatically. The +</I>>><i> location header must only be provided if the resource was created elsewhere. +</I>><i> +</I>><i> +</I>><i> Don't worry and thank you for your answers. +</I>><i> +</I>><i> Stephane +</I>><i> +</I>><i> +</I>><i> -- +</I>><i> Stéphane Wirtel - <A HREF="http://wirtel.be">http://wirtel.be</A> - @matrixise +</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="https://lists.ninenines.eu/listinfo/extend">https://lists.ninenines.eu/listinfo/extend</A> +</I></PRE> + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000452.html">[99s-extend] I need your feedback about this cowboy_rest handler. +</A></li> + <LI>Next message: <A HREF="000453.html">[99s-extend] Which erlang.mk? +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#457">[ date ]</a> + <a href="thread.html#457">[ thread ]</a> + <a href="subject.html#457">[ subject ]</a> + <a href="author.html#457">[ 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/2014-August/author.html b/archives/extend/2014-August/author.html new file mode 100644 index 00000000..c661620f --- /dev/null +++ b/archives/extend/2014-August/author.html @@ -0,0 +1,252 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <title>The Extend August 2014 Archive by author</title> + <META NAME="robots" CONTENT="noindex,follow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <a name="start"></A> + <h1>August 2014 Archives by author</h1> + <ul> + <li> <b>Messages sorted by:</b> + <a href="thread.html#start">[ thread ]</a> + <a href="subject.html#start">[ subject ]</a> + + <a href="date.html#start">[ date ]</a> + + <li><b><a href="https://lists.ninenines.eu/listinfo/extend">More info on this list... + </a></b></li> + </ul> + <p><b>Starting:</b> <i>Mon Aug 4 18:39:26 CEST 2014</i><br> + <b>Ending:</b> <i>Sat Aug 30 00:15:56 CEST 2014</i><br> + <b>Messages:</b> 41<p> + <ul> + +<LI><A HREF="000453.html">[99s-extend] Which erlang.mk? +</A><A NAME="453"> </A> +<I>Brandon Clark +</I> + +<LI><A HREF="000439.html">[99s-extend] How to use the PUT verb with Cowboy_Rest ? +</A><A NAME="439"> </A> +<I>Daniel Goertzen +</I> + +<LI><A HREF="000428.html">[99s-extend] [erlang-questions] [ANN] Cowboy 1.0 +</A><A NAME="428"> </A> +<I>Jesse Gumm +</I> + +<LI><A HREF="000441.html">[99s-extend] How to use the PUT verb with Cowboy_Rest ? +</A><A NAME="441"> </A> +<I>Eduardo Gurgel +</I> + +<LI><A HREF="000418.html">[99s-extend] ranch dispatch error ver 1.0.0 +</A><A NAME="418"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000420.html">[99s-extend] ranch dispatch error ver 1.0.0 +</A><A NAME="420"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000422.html">[99s-extend] ranch dispatch error ver 1.0.0 +</A><A NAME="422"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000425.html">[99s-extend] Broken links for REST flowcharts +</A><A NAME="425"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000426.html">[99s-extend] [ANN] Cowboy 1.0 +</A><A NAME="426"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000431.html">[99s-extend] [erlang-questions] [ANN] Cowboy 1.0 +</A><A NAME="431"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000433.html">[99s-extend] [erlang-questions] [ANN] Cowboy 1.0 +</A><A NAME="433"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000437.html">[99s-extend] cowboy_rest and response headers +</A><A NAME="437"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000446.html">[99s-extend] cowboy_rest and delete_completed and response +</A><A NAME="446"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000449.html">[99s-extend] I need your feedback about this cowboy_rest handler. +</A><A NAME="449"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000451.html">[99s-extend] I need your feedback about this cowboy_rest handler. +</A><A NAME="451"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000454.html">[99s-extend] Which erlang.mk? +</A><A NAME="454"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000456.html">[99s-extend] cowboy_rest : PUT and resource_exists vs is_conflict ? +</A><A NAME="456"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000427.html">[99s-extend] [erlang-questions] [ANN] Cowboy 1.0 +</A><A NAME="427"> </A> +<I>Max Lapshin +</I> + +<LI><A HREF="000424.html">[99s-extend] Broken links for REST flowcharts +</A><A NAME="424"> </A> +<I>Paulo F. Oliveira +</I> + +<LI><A HREF="000430.html">[99s-extend] [erlang-questions] [ANN] Cowboy 1.0 +</A><A NAME="430"> </A> +<I>Paulo F. Oliveira +</I> + +<LI><A HREF="000432.html">[99s-extend] [erlang-questions] [ANN] Cowboy 1.0 +</A><A NAME="432"> </A> +<I>Paulo F. Oliveira +</I> + +<LI><A HREF="000444.html">[99s-extend] Full example of cowboy_rest? +</A><A NAME="444"> </A> +<I>Paulo F. Oliveira +</I> + +<LI><A HREF="000457.html">[99s-extend] I need your feedback about this cowboy_rest handler. +</A><A NAME="457"> </A> +<I>Paulo F. Oliveira +</I> + +<LI><A HREF="000417.html">[99s-extend] ranch dispatch error ver 1.0.0 +</A><A NAME="417"> </A> +<I>Samir Sow +</I> + +<LI><A HREF="000419.html">[99s-extend] ranch dispatch error ver 1.0.0 +</A><A NAME="419"> </A> +<I>Samir Sow +</I> + +<LI><A HREF="000421.html">[99s-extend] ranch dispatch error ver 1.0.0 +</A><A NAME="421"> </A> +<I>Samir Sow +</I> + +<LI><A HREF="000423.html">[99s-extend] Fwd: ranch dispatch error ver 1.0.0 +</A><A NAME="423"> </A> +<I>Samir Sow +</I> + +<LI><A HREF="000436.html">[99s-extend] cowboy_rest and response headers +</A><A NAME="436"> </A> +<I>Camille Troillard +</I> + +<LI><A HREF="000442.html">[99s-extend] How to use the PUT verb with Cowboy_Rest ? +</A><A NAME="442"> </A> +<I>Stephane Wirtel +</I> + +<LI><A HREF="000438.html">[99s-extend] How to use the PUT verb with Cowboy_Rest ? +</A><A NAME="438"> </A> +<I>Stéphane Wirtel +</I> + +<LI><A HREF="000440.html">[99s-extend] How to use the PUT verb with Cowboy_Rest ? +</A><A NAME="440"> </A> +<I>Stéphane Wirtel +</I> + +<LI><A HREF="000443.html">[99s-extend] Full example of cowboy_rest? +</A><A NAME="443"> </A> +<I>Stéphane Wirtel +</I> + +<LI><A HREF="000445.html">[99s-extend] cowboy_rest and delete_completed and response +</A><A NAME="445"> </A> +<I>Stéphane Wirtel +</I> + +<LI><A HREF="000447.html">[99s-extend] cowboy_rest and delete_completed and response +</A><A NAME="447"> </A> +<I>Stéphane Wirtel +</I> + +<LI><A HREF="000448.html">[99s-extend] I need your feedback about this cowboy_rest handler. +</A><A NAME="448"> </A> +<I>Stéphane Wirtel +</I> + +<LI><A HREF="000450.html">[99s-extend] I need your feedback about this cowboy_rest handler. +</A><A NAME="450"> </A> +<I>Stéphane Wirtel +</I> + +<LI><A HREF="000452.html">[99s-extend] I need your feedback about this cowboy_rest handler. +</A><A NAME="452"> </A> +<I>Stéphane Wirtel +</I> + +<LI><A HREF="000455.html">[99s-extend] cowboy_rest : PUT and resource_exists vs is_conflict ? +</A><A NAME="455"> </A> +<I>Stéphane Wirtel +</I> + +<LI><A HREF="000434.html">[99s-extend] eunit suppoort in erlang.mk? +</A><A NAME="434"> </A> +<I>Michael Wittig +</I> + +<LI><A HREF="000435.html">[99s-extend] couldn't quit in Erlang 17.1 +</A><A NAME="435"> </A> +<I>chaehb +</I> + +<LI><A HREF="000429.html">[99s-extend] [erlang-questions] [ANN] Cowboy 1.0 +</A><A NAME="429"> </A> +<I>lloyd at writersglen.com +</I> + + </ul> + <p> + <a name="end"><b>Last message date:</b></a> + <i>Sat Aug 30 00:15:56 CEST 2014</i><br> + <b>Archived on:</b> <i>Sat Aug 30 00:15:58 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/2014-August/date.html b/archives/extend/2014-August/date.html new file mode 100644 index 00000000..b985c425 --- /dev/null +++ b/archives/extend/2014-August/date.html @@ -0,0 +1,252 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <title>The Extend August 2014 Archive by date</title> + <META NAME="robots" CONTENT="noindex,follow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <a name="start"></A> + <h1>August 2014 Archives by date</h1> + <ul> + <li> <b>Messages sorted by:</b> + <a href="thread.html#start">[ thread ]</a> + <a href="subject.html#start">[ subject ]</a> + <a href="author.html#start">[ author ]</a> + + + <li><b><a href="https://lists.ninenines.eu/listinfo/extend">More info on this list... + </a></b></li> + </ul> + <p><b>Starting:</b> <i>Mon Aug 4 18:39:26 CEST 2014</i><br> + <b>Ending:</b> <i>Sat Aug 30 00:15:56 CEST 2014</i><br> + <b>Messages:</b> 41<p> + <ul> + +<LI><A HREF="000417.html">[99s-extend] ranch dispatch error ver 1.0.0 +</A><A NAME="417"> </A> +<I>Samir Sow +</I> + +<LI><A HREF="000418.html">[99s-extend] ranch dispatch error ver 1.0.0 +</A><A NAME="418"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000419.html">[99s-extend] ranch dispatch error ver 1.0.0 +</A><A NAME="419"> </A> +<I>Samir Sow +</I> + +<LI><A HREF="000420.html">[99s-extend] ranch dispatch error ver 1.0.0 +</A><A NAME="420"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000421.html">[99s-extend] ranch dispatch error ver 1.0.0 +</A><A NAME="421"> </A> +<I>Samir Sow +</I> + +<LI><A HREF="000422.html">[99s-extend] ranch dispatch error ver 1.0.0 +</A><A NAME="422"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000423.html">[99s-extend] Fwd: ranch dispatch error ver 1.0.0 +</A><A NAME="423"> </A> +<I>Samir Sow +</I> + +<LI><A HREF="000424.html">[99s-extend] Broken links for REST flowcharts +</A><A NAME="424"> </A> +<I>Paulo F. Oliveira +</I> + +<LI><A HREF="000425.html">[99s-extend] Broken links for REST flowcharts +</A><A NAME="425"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000426.html">[99s-extend] [ANN] Cowboy 1.0 +</A><A NAME="426"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000427.html">[99s-extend] [erlang-questions] [ANN] Cowboy 1.0 +</A><A NAME="427"> </A> +<I>Max Lapshin +</I> + +<LI><A HREF="000428.html">[99s-extend] [erlang-questions] [ANN] Cowboy 1.0 +</A><A NAME="428"> </A> +<I>Jesse Gumm +</I> + +<LI><A HREF="000429.html">[99s-extend] [erlang-questions] [ANN] Cowboy 1.0 +</A><A NAME="429"> </A> +<I>lloyd at writersglen.com +</I> + +<LI><A HREF="000430.html">[99s-extend] [erlang-questions] [ANN] Cowboy 1.0 +</A><A NAME="430"> </A> +<I>Paulo F. Oliveira +</I> + +<LI><A HREF="000431.html">[99s-extend] [erlang-questions] [ANN] Cowboy 1.0 +</A><A NAME="431"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000432.html">[99s-extend] [erlang-questions] [ANN] Cowboy 1.0 +</A><A NAME="432"> </A> +<I>Paulo F. Oliveira +</I> + +<LI><A HREF="000433.html">[99s-extend] [erlang-questions] [ANN] Cowboy 1.0 +</A><A NAME="433"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000434.html">[99s-extend] eunit suppoort in erlang.mk? +</A><A NAME="434"> </A> +<I>Michael Wittig +</I> + +<LI><A HREF="000435.html">[99s-extend] couldn't quit in Erlang 17.1 +</A><A NAME="435"> </A> +<I>chaehb +</I> + +<LI><A HREF="000436.html">[99s-extend] cowboy_rest and response headers +</A><A NAME="436"> </A> +<I>Camille Troillard +</I> + +<LI><A HREF="000437.html">[99s-extend] cowboy_rest and response headers +</A><A NAME="437"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000438.html">[99s-extend] How to use the PUT verb with Cowboy_Rest ? +</A><A NAME="438"> </A> +<I>Stéphane Wirtel +</I> + +<LI><A HREF="000439.html">[99s-extend] How to use the PUT verb with Cowboy_Rest ? +</A><A NAME="439"> </A> +<I>Daniel Goertzen +</I> + +<LI><A HREF="000440.html">[99s-extend] How to use the PUT verb with Cowboy_Rest ? +</A><A NAME="440"> </A> +<I>Stéphane Wirtel +</I> + +<LI><A HREF="000441.html">[99s-extend] How to use the PUT verb with Cowboy_Rest ? +</A><A NAME="441"> </A> +<I>Eduardo Gurgel +</I> + +<LI><A HREF="000442.html">[99s-extend] How to use the PUT verb with Cowboy_Rest ? +</A><A NAME="442"> </A> +<I>Stephane Wirtel +</I> + +<LI><A HREF="000443.html">[99s-extend] Full example of cowboy_rest? +</A><A NAME="443"> </A> +<I>Stéphane Wirtel +</I> + +<LI><A HREF="000444.html">[99s-extend] Full example of cowboy_rest? +</A><A NAME="444"> </A> +<I>Paulo F. Oliveira +</I> + +<LI><A HREF="000445.html">[99s-extend] cowboy_rest and delete_completed and response +</A><A NAME="445"> </A> +<I>Stéphane Wirtel +</I> + +<LI><A HREF="000446.html">[99s-extend] cowboy_rest and delete_completed and response +</A><A NAME="446"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000447.html">[99s-extend] cowboy_rest and delete_completed and response +</A><A NAME="447"> </A> +<I>Stéphane Wirtel +</I> + +<LI><A HREF="000448.html">[99s-extend] I need your feedback about this cowboy_rest handler. +</A><A NAME="448"> </A> +<I>Stéphane Wirtel +</I> + +<LI><A HREF="000449.html">[99s-extend] I need your feedback about this cowboy_rest handler. +</A><A NAME="449"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000450.html">[99s-extend] I need your feedback about this cowboy_rest handler. +</A><A NAME="450"> </A> +<I>Stéphane Wirtel +</I> + +<LI><A HREF="000451.html">[99s-extend] I need your feedback about this cowboy_rest handler. +</A><A NAME="451"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000452.html">[99s-extend] I need your feedback about this cowboy_rest handler. +</A><A NAME="452"> </A> +<I>Stéphane Wirtel +</I> + +<LI><A HREF="000453.html">[99s-extend] Which erlang.mk? +</A><A NAME="453"> </A> +<I>Brandon Clark +</I> + +<LI><A HREF="000454.html">[99s-extend] Which erlang.mk? +</A><A NAME="454"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000455.html">[99s-extend] cowboy_rest : PUT and resource_exists vs is_conflict ? +</A><A NAME="455"> </A> +<I>Stéphane Wirtel +</I> + +<LI><A HREF="000456.html">[99s-extend] cowboy_rest : PUT and resource_exists vs is_conflict ? +</A><A NAME="456"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000457.html">[99s-extend] I need your feedback about this cowboy_rest handler. +</A><A NAME="457"> </A> +<I>Paulo F. Oliveira +</I> + + </ul> + <p> + <a name="end"><b>Last message date:</b></a> + <i>Sat Aug 30 00:15:56 CEST 2014</i><br> + <b>Archived on:</b> <i>Sat Aug 30 00:15:58 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/2014-August/index.html b/archives/extend/2014-August/index.html new file mode 100644 index 00000000..076e99dc --- /dev/null +++ b/archives/extend/2014-August/index.html @@ -0,0 +1,331 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <title>The Extend August 2014 Archive by thread</title> + <META NAME="robots" CONTENT="noindex,follow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <a name="start"></A> + <h1>August 2014 Archives by thread</h1> + <ul> + <li> <b>Messages sorted by:</b> + + <a href="subject.html#start">[ subject ]</a> + <a href="author.html#start">[ author ]</a> + <a href="date.html#start">[ date ]</a> + + <li><b><a href="https://lists.ninenines.eu/listinfo/extend">More info on this list... + </a></b></li> + </ul> + <p><b>Starting:</b> <i>Mon Aug 4 18:39:26 CEST 2014</i><br> + <b>Ending:</b> <i>Sat Aug 30 00:15:56 CEST 2014</i><br> + <b>Messages:</b> 41<p> + <ul> + +<!--0 01407170366.417- --> +<LI><A HREF="000417.html">[99s-extend] ranch dispatch error ver 1.0.0 +</A><A NAME="417"> </A> +<I>Samir Sow +</I> + +<UL> +<!--1 01407170366.417-01407170972.418- --> +<LI><A HREF="000418.html">[99s-extend] ranch dispatch error ver 1.0.0 +</A><A NAME="418"> </A> +<I>Loïc Hoguin +</I> + +<UL> +<!--2 01407170366.417-01407170972.418-01407174636.419- --> +<LI><A HREF="000419.html">[99s-extend] ranch dispatch error ver 1.0.0 +</A><A NAME="419"> </A> +<I>Samir Sow +</I> + +<UL> +<!--3 01407170366.417-01407170972.418-01407174636.419-01407175197.420- --> +<LI><A HREF="000420.html">[99s-extend] ranch dispatch error ver 1.0.0 +</A><A NAME="420"> </A> +<I>Loïc Hoguin +</I> + +<!--3 01407170366.417-01407170972.418-01407174636.419-01407175197.420-01407176166.421- --> +<LI><A HREF="000421.html">[99s-extend] ranch dispatch error ver 1.0.0 +</A><A NAME="421"> </A> +<I>Samir Sow +</I> + +<!--3 01407170366.417-01407170972.418-01407174636.419-01407175197.420-01407176166.421-01407176655.422- --> +<LI><A HREF="000422.html">[99s-extend] ranch dispatch error ver 1.0.0 +</A><A NAME="422"> </A> +<I>Loïc Hoguin +</I> + +<!--3 01407170366.417-01407170972.418-01407174636.419-01407175197.420-01407176166.421-01407176725.423- --> +<LI><A HREF="000423.html">[99s-extend] Fwd: ranch dispatch error ver 1.0.0 +</A><A NAME="423"> </A> +<I>Samir Sow +</I> + +</UL> +</UL> +</UL> +<!--0 01407236290.424- --> +<LI><A HREF="000424.html">[99s-extend] Broken links for REST flowcharts +</A><A NAME="424"> </A> +<I>Paulo F. Oliveira +</I> + +<UL> +<!--1 01407236290.424-01407237552.425- --> +<LI><A HREF="000425.html">[99s-extend] Broken links for REST flowcharts +</A><A NAME="425"> </A> +<I>Loïc Hoguin +</I> + +</UL> +<!--0 01407242627.426- --> +<LI><A HREF="000426.html">[99s-extend] [ANN] Cowboy 1.0 +</A><A NAME="426"> </A> +<I>Loïc Hoguin +</I> + +<UL> +<!--1 01407242627.426-01407245607.427- --> +<LI><A HREF="000427.html">[99s-extend] [erlang-questions] [ANN] Cowboy 1.0 +</A><A NAME="427"> </A> +<I>Max Lapshin +</I> + +<UL> +<!--2 01407242627.426-01407245607.427-01407270797.430- --> +<LI><A HREF="000430.html">[99s-extend] [erlang-questions] [ANN] Cowboy 1.0 +</A><A NAME="430"> </A> +<I>Paulo F. Oliveira +</I> + +<UL> +<!--3 01407242627.426-01407245607.427-01407270797.430-01407272134.431- --> +<LI><A HREF="000431.html">[99s-extend] [erlang-questions] [ANN] Cowboy 1.0 +</A><A NAME="431"> </A> +<I>Loïc Hoguin +</I> + +<!--3 01407242627.426-01407245607.427-01407270797.430-01407272134.431-01407272498.432- --> +<LI><A HREF="000432.html">[99s-extend] [erlang-questions] [ANN] Cowboy 1.0 +</A><A NAME="432"> </A> +<I>Paulo F. Oliveira +</I> + +<!--3 01407242627.426-01407245607.427-01407270797.430-01407272134.431-01407272498.432-01407272779.433- --> +<LI><A HREF="000433.html">[99s-extend] [erlang-questions] [ANN] Cowboy 1.0 +</A><A NAME="433"> </A> +<I>Loïc Hoguin +</I> + +</UL> +</UL> +<!--1 01407242627.426-01407254185.428- --> +<LI><A HREF="000428.html">[99s-extend] [erlang-questions] [ANN] Cowboy 1.0 +</A><A NAME="428"> </A> +<I>Jesse Gumm +</I> + +<!--1 01407242627.426-01407260073.429- --> +<LI><A HREF="000429.html">[99s-extend] [erlang-questions] [ANN] Cowboy 1.0 +</A><A NAME="429"> </A> +<I>lloyd at writersglen.com +</I> + +</UL> +<!--0 01407921471.434- --> +<LI><A HREF="000434.html">[99s-extend] eunit suppoort in erlang.mk? +</A><A NAME="434"> </A> +<I>Michael Wittig +</I> + +<!--0 01407979205.435- --> +<LI><A HREF="000435.html">[99s-extend] couldn't quit in Erlang 17.1 +</A><A NAME="435"> </A> +<I>chaehb +</I> + +<!--0 01408031065.436- --> +<LI><A HREF="000436.html">[99s-extend] cowboy_rest and response headers +</A><A NAME="436"> </A> +<I>Camille Troillard +</I> + +<UL> +<!--1 01408031065.436-01408031409.437- --> +<LI><A HREF="000437.html">[99s-extend] cowboy_rest and response headers +</A><A NAME="437"> </A> +<I>Loïc Hoguin +</I> + +</UL> +<!--0 01408838292.438- --> +<LI><A HREF="000438.html">[99s-extend] How to use the PUT verb with Cowboy_Rest ? +</A><A NAME="438"> </A> +<I>Stéphane Wirtel +</I> + +<UL> +<!--1 01408838292.438-01408839362.439- --> +<LI><A HREF="000439.html">[99s-extend] How to use the PUT verb with Cowboy_Rest ? +</A><A NAME="439"> </A> +<I>Daniel Goertzen +</I> + +<UL> +<!--2 01408838292.438-01408839362.439-01408839742.440- --> +<LI><A HREF="000440.html">[99s-extend] How to use the PUT verb with Cowboy_Rest ? +</A><A NAME="440"> </A> +<I>Stéphane Wirtel +</I> + +<UL> +<!--3 01408838292.438-01408839362.439-01408839742.440-01408839954.441- --> +<LI><A HREF="000441.html">[99s-extend] How to use the PUT verb with Cowboy_Rest ? +</A><A NAME="441"> </A> +<I>Eduardo Gurgel +</I> + +<!--3 01408838292.438-01408839362.439-01408839742.440-01408839954.441-01408841578.442- --> +<LI><A HREF="000442.html">[99s-extend] How to use the PUT verb with Cowboy_Rest ? +</A><A NAME="442"> </A> +<I>Stephane Wirtel +</I> + +</UL> +</UL> +</UL> +<!--0 01408874098.443- --> +<LI><A HREF="000443.html">[99s-extend] Full example of cowboy_rest? +</A><A NAME="443"> </A> +<I>Stéphane Wirtel +</I> + +<UL> +<!--1 01408874098.443-01409008304.444- --> +<LI><A HREF="000444.html">[99s-extend] Full example of cowboy_rest? +</A><A NAME="444"> </A> +<I>Paulo F. Oliveira +</I> + +</UL> +<!--0 01409090390.445- --> +<LI><A HREF="000445.html">[99s-extend] cowboy_rest and delete_completed and response +</A><A NAME="445"> </A> +<I>Stéphane Wirtel +</I> + +<UL> +<!--1 01409090390.445-01409090625.446- --> +<LI><A HREF="000446.html">[99s-extend] cowboy_rest and delete_completed and response +</A><A NAME="446"> </A> +<I>Loïc Hoguin +</I> + +<UL> +<!--2 01409090390.445-01409090625.446-01409091120.447- --> +<LI><A HREF="000447.html">[99s-extend] cowboy_rest and delete_completed and response +</A><A NAME="447"> </A> +<I>Stéphane Wirtel +</I> + +</UL> +</UL> +<!--0 01409131786.448- --> +<LI><A HREF="000448.html">[99s-extend] I need your feedback about this cowboy_rest handler. +</A><A NAME="448"> </A> +<I>Stéphane Wirtel +</I> + +<UL> +<!--1 01409131786.448-01409133821.449- --> +<LI><A HREF="000449.html">[99s-extend] I need your feedback about this cowboy_rest handler. +</A><A NAME="449"> </A> +<I>Loïc Hoguin +</I> + +<UL> +<!--2 01409131786.448-01409133821.449-01409135733.450- --> +<LI><A HREF="000450.html">[99s-extend] I need your feedback about this cowboy_rest handler. +</A><A NAME="450"> </A> +<I>Stéphane Wirtel +</I> + +<UL> +<!--3 01409131786.448-01409133821.449-01409135733.450-01409136799.451- --> +<LI><A HREF="000451.html">[99s-extend] I need your feedback about this cowboy_rest handler. +</A><A NAME="451"> </A> +<I>Loïc Hoguin +</I> + +<!--3 01409131786.448-01409133821.449-01409135733.450-01409136799.451-01409145971.452- --> +<LI><A HREF="000452.html">[99s-extend] I need your feedback about this cowboy_rest handler. +</A><A NAME="452"> </A> +<I>Stéphane Wirtel +</I> + +<!--3 01409131786.448-01409133821.449-01409135733.450-01409136799.451-01409145971.452-01409350556.457- --> +<LI><A HREF="000457.html">[99s-extend] I need your feedback about this cowboy_rest handler. +</A><A NAME="457"> </A> +<I>Paulo F. Oliveira +</I> + +</UL> +</UL> +</UL> +<!--0 01409166385.453- --> +<LI><A HREF="000453.html">[99s-extend] Which erlang.mk? +</A><A NAME="453"> </A> +<I>Brandon Clark +</I> + +<UL> +<!--1 01409166385.453-01409174786.454- --> +<LI><A HREF="000454.html">[99s-extend] Which erlang.mk? +</A><A NAME="454"> </A> +<I>Loïc Hoguin +</I> + +</UL> +<!--0 01409175685.455- --> +<LI><A HREF="000455.html">[99s-extend] cowboy_rest : PUT and resource_exists vs is_conflict ? +</A><A NAME="455"> </A> +<I>Stéphane Wirtel +</I> + +<UL> +<!--1 01409175685.455-01409176121.456- --> +<LI><A HREF="000456.html">[99s-extend] cowboy_rest : PUT and resource_exists vs is_conflict ? +</A><A NAME="456"> </A> +<I>Loïc Hoguin +</I> + +</UL> + </ul> + <p> + <a name="end"><b>Last message date:</b></a> + <i>Sat Aug 30 00:15:56 CEST 2014</i><br> + <b>Archived on:</b> <i>Sat Aug 30 00:15:58 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/2014-August/subject.html b/archives/extend/2014-August/subject.html new file mode 100644 index 00000000..af9f381b --- /dev/null +++ b/archives/extend/2014-August/subject.html @@ -0,0 +1,252 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <title>The Extend August 2014 Archive by subject</title> + <META NAME="robots" CONTENT="noindex,follow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <a name="start"></A> + <h1>August 2014 Archives by subject</h1> + <ul> + <li> <b>Messages sorted by:</b> + <a href="thread.html#start">[ thread ]</a> + + <a href="author.html#start">[ author ]</a> + <a href="date.html#start">[ date ]</a> + + <li><b><a href="https://lists.ninenines.eu/listinfo/extend">More info on this list... + </a></b></li> + </ul> + <p><b>Starting:</b> <i>Mon Aug 4 18:39:26 CEST 2014</i><br> + <b>Ending:</b> <i>Sat Aug 30 00:15:56 CEST 2014</i><br> + <b>Messages:</b> 41<p> + <ul> + +<LI><A HREF="000426.html">[99s-extend] [ANN] Cowboy 1.0 +</A><A NAME="426"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000427.html">[99s-extend] [erlang-questions] [ANN] Cowboy 1.0 +</A><A NAME="427"> </A> +<I>Max Lapshin +</I> + +<LI><A HREF="000428.html">[99s-extend] [erlang-questions] [ANN] Cowboy 1.0 +</A><A NAME="428"> </A> +<I>Jesse Gumm +</I> + +<LI><A HREF="000429.html">[99s-extend] [erlang-questions] [ANN] Cowboy 1.0 +</A><A NAME="429"> </A> +<I>lloyd at writersglen.com +</I> + +<LI><A HREF="000430.html">[99s-extend] [erlang-questions] [ANN] Cowboy 1.0 +</A><A NAME="430"> </A> +<I>Paulo F. Oliveira +</I> + +<LI><A HREF="000431.html">[99s-extend] [erlang-questions] [ANN] Cowboy 1.0 +</A><A NAME="431"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000432.html">[99s-extend] [erlang-questions] [ANN] Cowboy 1.0 +</A><A NAME="432"> </A> +<I>Paulo F. Oliveira +</I> + +<LI><A HREF="000433.html">[99s-extend] [erlang-questions] [ANN] Cowboy 1.0 +</A><A NAME="433"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000424.html">[99s-extend] Broken links for REST flowcharts +</A><A NAME="424"> </A> +<I>Paulo F. Oliveira +</I> + +<LI><A HREF="000425.html">[99s-extend] Broken links for REST flowcharts +</A><A NAME="425"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000435.html">[99s-extend] couldn't quit in Erlang 17.1 +</A><A NAME="435"> </A> +<I>chaehb +</I> + +<LI><A HREF="000455.html">[99s-extend] cowboy_rest : PUT and resource_exists vs is_conflict ? +</A><A NAME="455"> </A> +<I>Stéphane Wirtel +</I> + +<LI><A HREF="000456.html">[99s-extend] cowboy_rest : PUT and resource_exists vs is_conflict ? +</A><A NAME="456"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000445.html">[99s-extend] cowboy_rest and delete_completed and response +</A><A NAME="445"> </A> +<I>Stéphane Wirtel +</I> + +<LI><A HREF="000446.html">[99s-extend] cowboy_rest and delete_completed and response +</A><A NAME="446"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000447.html">[99s-extend] cowboy_rest and delete_completed and response +</A><A NAME="447"> </A> +<I>Stéphane Wirtel +</I> + +<LI><A HREF="000436.html">[99s-extend] cowboy_rest and response headers +</A><A NAME="436"> </A> +<I>Camille Troillard +</I> + +<LI><A HREF="000437.html">[99s-extend] cowboy_rest and response headers +</A><A NAME="437"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000434.html">[99s-extend] eunit suppoort in erlang.mk? +</A><A NAME="434"> </A> +<I>Michael Wittig +</I> + +<LI><A HREF="000443.html">[99s-extend] Full example of cowboy_rest? +</A><A NAME="443"> </A> +<I>Stéphane Wirtel +</I> + +<LI><A HREF="000444.html">[99s-extend] Full example of cowboy_rest? +</A><A NAME="444"> </A> +<I>Paulo F. Oliveira +</I> + +<LI><A HREF="000423.html">[99s-extend] Fwd: ranch dispatch error ver 1.0.0 +</A><A NAME="423"> </A> +<I>Samir Sow +</I> + +<LI><A HREF="000438.html">[99s-extend] How to use the PUT verb with Cowboy_Rest ? +</A><A NAME="438"> </A> +<I>Stéphane Wirtel +</I> + +<LI><A HREF="000439.html">[99s-extend] How to use the PUT verb with Cowboy_Rest ? +</A><A NAME="439"> </A> +<I>Daniel Goertzen +</I> + +<LI><A HREF="000440.html">[99s-extend] How to use the PUT verb with Cowboy_Rest ? +</A><A NAME="440"> </A> +<I>Stéphane Wirtel +</I> + +<LI><A HREF="000441.html">[99s-extend] How to use the PUT verb with Cowboy_Rest ? +</A><A NAME="441"> </A> +<I>Eduardo Gurgel +</I> + +<LI><A HREF="000442.html">[99s-extend] How to use the PUT verb with Cowboy_Rest ? +</A><A NAME="442"> </A> +<I>Stephane Wirtel +</I> + +<LI><A HREF="000448.html">[99s-extend] I need your feedback about this cowboy_rest handler. +</A><A NAME="448"> </A> +<I>Stéphane Wirtel +</I> + +<LI><A HREF="000449.html">[99s-extend] I need your feedback about this cowboy_rest handler. +</A><A NAME="449"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000450.html">[99s-extend] I need your feedback about this cowboy_rest handler. +</A><A NAME="450"> </A> +<I>Stéphane Wirtel +</I> + +<LI><A HREF="000451.html">[99s-extend] I need your feedback about this cowboy_rest handler. +</A><A NAME="451"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000452.html">[99s-extend] I need your feedback about this cowboy_rest handler. +</A><A NAME="452"> </A> +<I>Stéphane Wirtel +</I> + +<LI><A HREF="000457.html">[99s-extend] I need your feedback about this cowboy_rest handler. +</A><A NAME="457"> </A> +<I>Paulo F. Oliveira +</I> + +<LI><A HREF="000417.html">[99s-extend] ranch dispatch error ver 1.0.0 +</A><A NAME="417"> </A> +<I>Samir Sow +</I> + +<LI><A HREF="000418.html">[99s-extend] ranch dispatch error ver 1.0.0 +</A><A NAME="418"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000419.html">[99s-extend] ranch dispatch error ver 1.0.0 +</A><A NAME="419"> </A> +<I>Samir Sow +</I> + +<LI><A HREF="000420.html">[99s-extend] ranch dispatch error ver 1.0.0 +</A><A NAME="420"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000421.html">[99s-extend] ranch dispatch error ver 1.0.0 +</A><A NAME="421"> </A> +<I>Samir Sow +</I> + +<LI><A HREF="000422.html">[99s-extend] ranch dispatch error ver 1.0.0 +</A><A NAME="422"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000453.html">[99s-extend] Which erlang.mk? +</A><A NAME="453"> </A> +<I>Brandon Clark +</I> + +<LI><A HREF="000454.html">[99s-extend] Which erlang.mk? +</A><A NAME="454"> </A> +<I>Loïc Hoguin +</I> + + </ul> + <p> + <a name="end"><b>Last message date:</b></a> + <i>Sat Aug 30 00:15:56 CEST 2014</i><br> + <b>Archived on:</b> <i>Sat Aug 30 00:15:58 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/2014-August/thread.html b/archives/extend/2014-August/thread.html new file mode 100644 index 00000000..076e99dc --- /dev/null +++ b/archives/extend/2014-August/thread.html @@ -0,0 +1,331 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <title>The Extend August 2014 Archive by thread</title> + <META NAME="robots" CONTENT="noindex,follow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <a name="start"></A> + <h1>August 2014 Archives by thread</h1> + <ul> + <li> <b>Messages sorted by:</b> + + <a href="subject.html#start">[ subject ]</a> + <a href="author.html#start">[ author ]</a> + <a href="date.html#start">[ date ]</a> + + <li><b><a href="https://lists.ninenines.eu/listinfo/extend">More info on this list... + </a></b></li> + </ul> + <p><b>Starting:</b> <i>Mon Aug 4 18:39:26 CEST 2014</i><br> + <b>Ending:</b> <i>Sat Aug 30 00:15:56 CEST 2014</i><br> + <b>Messages:</b> 41<p> + <ul> + +<!--0 01407170366.417- --> +<LI><A HREF="000417.html">[99s-extend] ranch dispatch error ver 1.0.0 +</A><A NAME="417"> </A> +<I>Samir Sow +</I> + +<UL> +<!--1 01407170366.417-01407170972.418- --> +<LI><A HREF="000418.html">[99s-extend] ranch dispatch error ver 1.0.0 +</A><A NAME="418"> </A> +<I>Loïc Hoguin +</I> + +<UL> +<!--2 01407170366.417-01407170972.418-01407174636.419- --> +<LI><A HREF="000419.html">[99s-extend] ranch dispatch error ver 1.0.0 +</A><A NAME="419"> </A> +<I>Samir Sow +</I> + +<UL> +<!--3 01407170366.417-01407170972.418-01407174636.419-01407175197.420- --> +<LI><A HREF="000420.html">[99s-extend] ranch dispatch error ver 1.0.0 +</A><A NAME="420"> </A> +<I>Loïc Hoguin +</I> + +<!--3 01407170366.417-01407170972.418-01407174636.419-01407175197.420-01407176166.421- --> +<LI><A HREF="000421.html">[99s-extend] ranch dispatch error ver 1.0.0 +</A><A NAME="421"> </A> +<I>Samir Sow +</I> + +<!--3 01407170366.417-01407170972.418-01407174636.419-01407175197.420-01407176166.421-01407176655.422- --> +<LI><A HREF="000422.html">[99s-extend] ranch dispatch error ver 1.0.0 +</A><A NAME="422"> </A> +<I>Loïc Hoguin +</I> + +<!--3 01407170366.417-01407170972.418-01407174636.419-01407175197.420-01407176166.421-01407176725.423- --> +<LI><A HREF="000423.html">[99s-extend] Fwd: ranch dispatch error ver 1.0.0 +</A><A NAME="423"> </A> +<I>Samir Sow +</I> + +</UL> +</UL> +</UL> +<!--0 01407236290.424- --> +<LI><A HREF="000424.html">[99s-extend] Broken links for REST flowcharts +</A><A NAME="424"> </A> +<I>Paulo F. Oliveira +</I> + +<UL> +<!--1 01407236290.424-01407237552.425- --> +<LI><A HREF="000425.html">[99s-extend] Broken links for REST flowcharts +</A><A NAME="425"> </A> +<I>Loïc Hoguin +</I> + +</UL> +<!--0 01407242627.426- --> +<LI><A HREF="000426.html">[99s-extend] [ANN] Cowboy 1.0 +</A><A NAME="426"> </A> +<I>Loïc Hoguin +</I> + +<UL> +<!--1 01407242627.426-01407245607.427- --> +<LI><A HREF="000427.html">[99s-extend] [erlang-questions] [ANN] Cowboy 1.0 +</A><A NAME="427"> </A> +<I>Max Lapshin +</I> + +<UL> +<!--2 01407242627.426-01407245607.427-01407270797.430- --> +<LI><A HREF="000430.html">[99s-extend] [erlang-questions] [ANN] Cowboy 1.0 +</A><A NAME="430"> </A> +<I>Paulo F. Oliveira +</I> + +<UL> +<!--3 01407242627.426-01407245607.427-01407270797.430-01407272134.431- --> +<LI><A HREF="000431.html">[99s-extend] [erlang-questions] [ANN] Cowboy 1.0 +</A><A NAME="431"> </A> +<I>Loïc Hoguin +</I> + +<!--3 01407242627.426-01407245607.427-01407270797.430-01407272134.431-01407272498.432- --> +<LI><A HREF="000432.html">[99s-extend] [erlang-questions] [ANN] Cowboy 1.0 +</A><A NAME="432"> </A> +<I>Paulo F. Oliveira +</I> + +<!--3 01407242627.426-01407245607.427-01407270797.430-01407272134.431-01407272498.432-01407272779.433- --> +<LI><A HREF="000433.html">[99s-extend] [erlang-questions] [ANN] Cowboy 1.0 +</A><A NAME="433"> </A> +<I>Loïc Hoguin +</I> + +</UL> +</UL> +<!--1 01407242627.426-01407254185.428- --> +<LI><A HREF="000428.html">[99s-extend] [erlang-questions] [ANN] Cowboy 1.0 +</A><A NAME="428"> </A> +<I>Jesse Gumm +</I> + +<!--1 01407242627.426-01407260073.429- --> +<LI><A HREF="000429.html">[99s-extend] [erlang-questions] [ANN] Cowboy 1.0 +</A><A NAME="429"> </A> +<I>lloyd at writersglen.com +</I> + +</UL> +<!--0 01407921471.434- --> +<LI><A HREF="000434.html">[99s-extend] eunit suppoort in erlang.mk? +</A><A NAME="434"> </A> +<I>Michael Wittig +</I> + +<!--0 01407979205.435- --> +<LI><A HREF="000435.html">[99s-extend] couldn't quit in Erlang 17.1 +</A><A NAME="435"> </A> +<I>chaehb +</I> + +<!--0 01408031065.436- --> +<LI><A HREF="000436.html">[99s-extend] cowboy_rest and response headers +</A><A NAME="436"> </A> +<I>Camille Troillard +</I> + +<UL> +<!--1 01408031065.436-01408031409.437- --> +<LI><A HREF="000437.html">[99s-extend] cowboy_rest and response headers +</A><A NAME="437"> </A> +<I>Loïc Hoguin +</I> + +</UL> +<!--0 01408838292.438- --> +<LI><A HREF="000438.html">[99s-extend] How to use the PUT verb with Cowboy_Rest ? +</A><A NAME="438"> </A> +<I>Stéphane Wirtel +</I> + +<UL> +<!--1 01408838292.438-01408839362.439- --> +<LI><A HREF="000439.html">[99s-extend] How to use the PUT verb with Cowboy_Rest ? +</A><A NAME="439"> </A> +<I>Daniel Goertzen +</I> + +<UL> +<!--2 01408838292.438-01408839362.439-01408839742.440- --> +<LI><A HREF="000440.html">[99s-extend] How to use the PUT verb with Cowboy_Rest ? +</A><A NAME="440"> </A> +<I>Stéphane Wirtel +</I> + +<UL> +<!--3 01408838292.438-01408839362.439-01408839742.440-01408839954.441- --> +<LI><A HREF="000441.html">[99s-extend] How to use the PUT verb with Cowboy_Rest ? +</A><A NAME="441"> </A> +<I>Eduardo Gurgel +</I> + +<!--3 01408838292.438-01408839362.439-01408839742.440-01408839954.441-01408841578.442- --> +<LI><A HREF="000442.html">[99s-extend] How to use the PUT verb with Cowboy_Rest ? +</A><A NAME="442"> </A> +<I>Stephane Wirtel +</I> + +</UL> +</UL> +</UL> +<!--0 01408874098.443- --> +<LI><A HREF="000443.html">[99s-extend] Full example of cowboy_rest? +</A><A NAME="443"> </A> +<I>Stéphane Wirtel +</I> + +<UL> +<!--1 01408874098.443-01409008304.444- --> +<LI><A HREF="000444.html">[99s-extend] Full example of cowboy_rest? +</A><A NAME="444"> </A> +<I>Paulo F. Oliveira +</I> + +</UL> +<!--0 01409090390.445- --> +<LI><A HREF="000445.html">[99s-extend] cowboy_rest and delete_completed and response +</A><A NAME="445"> </A> +<I>Stéphane Wirtel +</I> + +<UL> +<!--1 01409090390.445-01409090625.446- --> +<LI><A HREF="000446.html">[99s-extend] cowboy_rest and delete_completed and response +</A><A NAME="446"> </A> +<I>Loïc Hoguin +</I> + +<UL> +<!--2 01409090390.445-01409090625.446-01409091120.447- --> +<LI><A HREF="000447.html">[99s-extend] cowboy_rest and delete_completed and response +</A><A NAME="447"> </A> +<I>Stéphane Wirtel +</I> + +</UL> +</UL> +<!--0 01409131786.448- --> +<LI><A HREF="000448.html">[99s-extend] I need your feedback about this cowboy_rest handler. +</A><A NAME="448"> </A> +<I>Stéphane Wirtel +</I> + +<UL> +<!--1 01409131786.448-01409133821.449- --> +<LI><A HREF="000449.html">[99s-extend] I need your feedback about this cowboy_rest handler. +</A><A NAME="449"> </A> +<I>Loïc Hoguin +</I> + +<UL> +<!--2 01409131786.448-01409133821.449-01409135733.450- --> +<LI><A HREF="000450.html">[99s-extend] I need your feedback about this cowboy_rest handler. +</A><A NAME="450"> </A> +<I>Stéphane Wirtel +</I> + +<UL> +<!--3 01409131786.448-01409133821.449-01409135733.450-01409136799.451- --> +<LI><A HREF="000451.html">[99s-extend] I need your feedback about this cowboy_rest handler. +</A><A NAME="451"> </A> +<I>Loïc Hoguin +</I> + +<!--3 01409131786.448-01409133821.449-01409135733.450-01409136799.451-01409145971.452- --> +<LI><A HREF="000452.html">[99s-extend] I need your feedback about this cowboy_rest handler. +</A><A NAME="452"> </A> +<I>Stéphane Wirtel +</I> + +<!--3 01409131786.448-01409133821.449-01409135733.450-01409136799.451-01409145971.452-01409350556.457- --> +<LI><A HREF="000457.html">[99s-extend] I need your feedback about this cowboy_rest handler. +</A><A NAME="457"> </A> +<I>Paulo F. Oliveira +</I> + +</UL> +</UL> +</UL> +<!--0 01409166385.453- --> +<LI><A HREF="000453.html">[99s-extend] Which erlang.mk? +</A><A NAME="453"> </A> +<I>Brandon Clark +</I> + +<UL> +<!--1 01409166385.453-01409174786.454- --> +<LI><A HREF="000454.html">[99s-extend] Which erlang.mk? +</A><A NAME="454"> </A> +<I>Loïc Hoguin +</I> + +</UL> +<!--0 01409175685.455- --> +<LI><A HREF="000455.html">[99s-extend] cowboy_rest : PUT and resource_exists vs is_conflict ? +</A><A NAME="455"> </A> +<I>Stéphane Wirtel +</I> + +<UL> +<!--1 01409175685.455-01409176121.456- --> +<LI><A HREF="000456.html">[99s-extend] cowboy_rest : PUT and resource_exists vs is_conflict ? +</A><A NAME="456"> </A> +<I>Loïc Hoguin +</I> + +</UL> + </ul> + <p> + <a name="end"><b>Last message date:</b></a> + <i>Sat Aug 30 00:15:56 CEST 2014</i><br> + <b>Archived on:</b> <i>Sat Aug 30 00:15:58 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> + |