<!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>