summaryrefslogtreecommitdiffstats
path: root/archives/extend/2014-August/000433.html
blob: 3cb256ead0f8ac26b8c967bcd1c1713ba71f4d34 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
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&#239;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:
&gt;<i> Yes, it should be _that_ easy for the 400 &gt; 422 :D, but is that the only
</I>&gt;<i> important difference I should be aware of, then? I haven't written any
</I>&gt;<i> real tests, for the time being, to guarantee backward compatibility for
</I>&gt;<i> dependants...
</I>&gt;<i>
</I>&gt;<i> In any case, I'm thinking about updating the dependencies in the future
</I>&gt;<i> (I own one of them and the other one is an internal project, for the
</I>&gt;<i> time being).
</I>&gt;<i>
</I>&gt;<i> Thanks for the tip.
</I>&gt;<i>
</I>&gt;<i> Cheers.
</I>&gt;<i>
</I>&gt;<i> - Paulo F. Oliveira
</I>&gt;<i>
</I>&gt;<i>
</I>&gt;<i> On 5 August 2014 21:55, Lo&#239;c Hoguin &lt;<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>
</I>&gt;<i> &lt;mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>&gt;&gt; wrote:
</I>&gt;<i>
</I>&gt;<i>     You can easily send 422 and return halt instead of returning false
</I>&gt;<i>     if you need to keep that, it'll just be 2 lines instead of 1. :)
</I>&gt;<i>
</I>&gt;<i>     On 08/05/2014 10:33 PM, Paulo F. Oliveira wrote:
</I>&gt;<i>
</I>&gt;<i>         Hi, Federico.
</I>&gt;<i>
</I>&gt;<i>         Check this out for the &quot;why&quot; regarding your question:
</I>&gt;<i>         <A HREF="https://github.com/ninenines/__cowboy/issues/715">https://github.com/ninenines/__cowboy/issues/715</A>
</I>&gt;<i>         &lt;<A HREF="https://github.com/ninenines/cowboy/issues/715">https://github.com/ninenines/cowboy/issues/715</A>&gt;
</I>&gt;<i>
</I>&gt;<i>         It's one of the reasons (I haven't detected others yet) stopping
</I>&gt;<i>         me from
</I>&gt;<i>         moving to 1.0, unfortunately (I have some projects depending on
</I>&gt;<i>         these
</I>&gt;<i>         status codes already), but as soon as I have some time and look
</I>&gt;<i>         at all
</I>&gt;<i>         the _major_ differences between 0.9.0 and 1.0 I think I'll make the
</I>&gt;<i>         move. For the time being, I have found no issues with the REST
</I>&gt;<i>         part of
</I>&gt;<i>         cowboy (the one I use).
</I>&gt;<i>
</I>&gt;<i>         Thank you, Lo&#239;c et all for the effort and for keeping it open
</I>&gt;<i>         source.
</I>&gt;<i>
</I>&gt;<i>         Regards.
</I>&gt;<i>
</I>&gt;<i>         - Paulo F. Oliveira
</I>&gt;<i>
</I>&gt;<i>
</I>&gt;<i>         On 5 August 2014 15:18, Federico Carrone
</I>&gt;<i>         &lt;<A HREF="https://lists.ninenines.eu/listinfo/extend">federico.carrone at gmail.com</A> &lt;mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">federico.carrone at gmail.com</A>&gt;
</I>&gt;<i>         &lt;mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">federico.carrone at __gmail.com</A>
</I>&gt;<i>         &lt;mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">federico.carrone at gmail.com</A>&gt;&gt;&gt; wrote:
</I>&gt;<i>
</I>&gt;<i>              Congratulations Loic. I really love cowboy.
</I>&gt;<i>
</I>&gt;<i>              I got only one question: Why did you change the reply with 400
</I>&gt;<i>              instead of 422 in cowboy_rest for unprocessable entities?
</I>&gt;<i>
</I>&gt;<i>              Regards,
</I>&gt;<i>              Federico.
</I>&gt;<i>
</I>&gt;<i>
</I>&gt;<i>
</I>&gt;<i>              On Tue, Aug 5, 2014 at 10:33 AM, Max Lapshin
</I>&gt;<i>         &lt;<A HREF="https://lists.ninenines.eu/listinfo/extend">max.lapshin at gmail.com</A> &lt;mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">max.lapshin at gmail.com</A>&gt;
</I>&gt;<i>              &lt;mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">max.lapshin at gmail.com</A>
</I>&gt;<i>         &lt;mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">max.lapshin at gmail.com</A>&gt;&gt;__&gt; wrote:
</I>&gt;<i>
</I>&gt;<i>                  Loic, it is very cool!
</I>&gt;<i>
</I>&gt;<i>                  Thanks.
</I>&gt;<i>
</I>&gt;<i>                  _________________________________________________
</I>&gt;<i>                  erlang-questions mailing list
</I>&gt;<i>         <A HREF="https://lists.ninenines.eu/listinfo/extend">erlang-questions at erlang.org</A> &lt;mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">erlang-questions at erlang.org</A>&gt;
</I>&gt;<i>         &lt;mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">erlang-questions at __erlang.org</A>
</I>&gt;<i>         &lt;mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">erlang-questions at erlang.org</A>&gt;&gt;
</I>&gt;<i>         <A HREF="http://erlang.org/mailman/__listinfo/erlang-questions">http://erlang.org/mailman/__listinfo/erlang-questions</A>
</I>&gt;<i>         &lt;<A HREF="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/listinfo/erlang-questions</A>&gt;
</I>&gt;<i>
</I>&gt;<i>
</I>&gt;<i>
</I>&gt;<i>
</I>&gt;<i>              --
</I>&gt;<i>         <A HREF="http://federicocarrone.com/">http://federicocarrone.com/</A>
</I>&gt;<i>
</I>&gt;<i>              _________________________________________________
</I>&gt;<i>              erlang-questions mailing list
</I>&gt;<i>         <A HREF="https://lists.ninenines.eu/listinfo/extend">erlang-questions at erlang.org</A> &lt;mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">erlang-questions at erlang.org</A>&gt;
</I>&gt;<i>         &lt;mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">erlang-questions at __erlang.org</A>
</I>&gt;<i>         &lt;mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">erlang-questions at erlang.org</A>&gt;&gt;
</I>&gt;<i>         <A HREF="http://erlang.org/mailman/__listinfo/erlang-questions">http://erlang.org/mailman/__listinfo/erlang-questions</A>
</I>&gt;<i>         &lt;<A HREF="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/listinfo/erlang-questions</A>&gt;
</I>&gt;<i>
</I>&gt;<i>
</I>&gt;<i>
</I>&gt;<i>
</I>&gt;<i>         _________________________________________________
</I>&gt;<i>         Extend mailing list
</I>&gt;<i>         <A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A> &lt;mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A>&gt;
</I>&gt;<i>         <A HREF="https://lists.ninenines.eu/__listinfo/extend">https://lists.ninenines.eu/__listinfo/extend</A>
</I>&gt;<i>         &lt;<A HREF="https://lists.ninenines.eu/listinfo/extend">https://lists.ninenines.eu/listinfo/extend</A>&gt;
</I>&gt;<i>
</I>&gt;<i>
</I>&gt;<i>     --
</I>&gt;<i>     Lo&#239;c Hoguin
</I>&gt;<i>     <A HREF="http://ninenines.eu">http://ninenines.eu</A>
</I>&gt;<i>
</I>&gt;<i>
</I>
-- 
Lo&#239;c Hoguin
<A HREF="http://ninenines.eu">http://ninenines.eu</A>
</PRE>

<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="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>