summaryrefslogtreecommitdiffstats
path: root/archives/extend/2014-August/000432.html
blob: 3e6982cdf4849e5807371f451017ebd5c3912f85 (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
<!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 &gt; 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&#239;c Hoguin &lt;<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>&gt; wrote:

&gt;<i> You can easily send 422 and return halt instead of returning false if you
</I>&gt;<i> 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;&gt;<i> Hi, Federico.
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> Check this out for the &quot;why&quot; regarding your question:
</I>&gt;&gt;<i> <A HREF="https://github.com/ninenines/cowboy/issues/715">https://github.com/ninenines/cowboy/issues/715</A>
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> It's one of the reasons (I haven't detected others yet) stopping me from
</I>&gt;&gt;<i> moving to 1.0, unfortunately (I have some projects depending on these
</I>&gt;&gt;<i> status codes already), but as soon as I have some time and look at all
</I>&gt;&gt;<i> the _major_ differences between 0.9.0 and 1.0 I think I'll make the
</I>&gt;&gt;<i> move. For the time being, I have found no issues with the REST part of
</I>&gt;&gt;<i> cowboy (the one I use).
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> Thank you, Lo&#239;c et all for the effort and for keeping it open source.
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> Regards.
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> - Paulo F. Oliveira
</I>&gt;&gt;<i>
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> On 5 August 2014 15:18, Federico Carrone &lt;<A HREF="https://lists.ninenines.eu/listinfo/extend">federico.carrone at gmail.com</A>
</I>&gt;&gt;<i> &lt;mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">federico.carrone at gmail.com</A>&gt;&gt; wrote:
</I>&gt;&gt;<i>
</I>&gt;&gt;<i>     Congratulations Loic. I really love cowboy.
</I>&gt;&gt;<i>
</I>&gt;&gt;<i>     I got only one question: Why did you change the reply with 400
</I>&gt;&gt;<i>     instead of 422 in cowboy_rest for unprocessable entities?
</I>&gt;&gt;<i>
</I>&gt;&gt;<i>     Regards,
</I>&gt;&gt;<i>     Federico.
</I>&gt;&gt;<i>
</I>&gt;&gt;<i>
</I>&gt;&gt;<i>
</I>&gt;&gt;<i>     On Tue, Aug 5, 2014 at 10:33 AM, Max Lapshin &lt;<A HREF="https://lists.ninenines.eu/listinfo/extend">max.lapshin at gmail.com</A>
</I>&gt;&gt;<i>     &lt;mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">max.lapshin at gmail.com</A>&gt;&gt; wrote:
</I>&gt;&gt;<i>
</I>&gt;&gt;<i>         Loic, it is very cool!
</I>&gt;&gt;<i>
</I>&gt;&gt;<i>         Thanks.
</I>&gt;&gt;<i>
</I>&gt;&gt;<i>         _______________________________________________
</I>&gt;&gt;<i>         erlang-questions mailing list
</I>&gt;&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;&gt;<i>         <A HREF="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/listinfo/erlang-questions</A>
</I>&gt;&gt;<i>
</I>&gt;&gt;<i>
</I>&gt;&gt;<i>
</I>&gt;&gt;<i>
</I>&gt;&gt;<i>     --
</I>&gt;&gt;<i>     <A HREF="http://federicocarrone.com/">http://federicocarrone.com/</A>
</I>&gt;&gt;<i>
</I>&gt;&gt;<i>     _______________________________________________
</I>&gt;&gt;<i>     erlang-questions mailing list
</I>&gt;&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;&gt;<i>     <A HREF="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/listinfo/erlang-questions</A>
</I>&gt;&gt;<i>
</I>&gt;&gt;<i>
</I>&gt;&gt;<i>
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> _______________________________________________
</I>&gt;&gt;<i> Extend mailing list
</I>&gt;&gt;<i> <A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A>
</I>&gt;&gt;<i> <A HREF="https://lists.ninenines.eu/listinfo/extend">https://lists.ninenines.eu/listinfo/extend</A>
</I>&gt;&gt;<i>
</I>&gt;&gt;<i>
</I>&gt;<i> --
</I>&gt;<i> Lo&#239;c Hoguin
</I>&gt;<i> <A HREF="http://ninenines.eu">http://ninenines.eu</A>
</I>&gt;<i>
</I>-------------- next part --------------
An HTML attachment was scrubbed...
URL: &lt;<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>&gt;
</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>