summaryrefslogtreecommitdiffstats
path: root/archives/extend/2014-October
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2016-08-29 12:39:49 +0200
committerLoïc Hoguin <[email protected]>2016-08-29 12:40:03 +0200
commitc807880f7ac73f813b2660ea81a00f7712a4e793 (patch)
treeba1d09e9b177f230665a80513b33fbd532000ce4 /archives/extend/2014-October
parentb1df25a7d9cda697513650659b781b55b40898f8 (diff)
downloadninenines.eu-c807880f7ac73f813b2660ea81a00f7712a4e793.tar.gz
ninenines.eu-c807880f7ac73f813b2660ea81a00f7712a4e793.tar.bz2
ninenines.eu-c807880f7ac73f813b2660ea81a00f7712a4e793.zip
Add old mailing list archives
Diffstat (limited to 'archives/extend/2014-October')
-rw-r--r--archives/extend/2014-October/000468.html72
-rw-r--r--archives/extend/2014-October/000469.html89
-rw-r--r--archives/extend/2014-October/000470.html95
-rw-r--r--archives/extend/2014-October/000471.html105
-rw-r--r--archives/extend/2014-October/000472.html97
-rw-r--r--archives/extend/2014-October/000473.html78
-rw-r--r--archives/extend/2014-October/author.html77
-rw-r--r--archives/extend/2014-October/date.html77
-rw-r--r--archives/extend/2014-October/index.html87
-rw-r--r--archives/extend/2014-October/subject.html77
-rw-r--r--archives/extend/2014-October/thread.html87
11 files changed, 941 insertions, 0 deletions
diff --git a/archives/extend/2014-October/000468.html b/archives/extend/2014-October/000468.html
new file mode 100644
index 00000000..d885c686
--- /dev/null
+++ b/archives/extend/2014-October/000468.html
@@ -0,0 +1,72 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [99s-extend] Prevent resource creation on POST
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Prevent%20resource%20creation%20on%20POST&In-Reply-To=%3C20141005025658.GA12424%40newton.local%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="000469.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[99s-extend] Prevent resource creation on POST</H1>
+ <B>Amol Hatwar</B>
+ <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Prevent%20resource%20creation%20on%20POST&In-Reply-To=%3C20141005025658.GA12424%40newton.local%3E"
+ TITLE="[99s-extend] Prevent resource creation on POST">amol at hatwar.org
+ </A><BR>
+ <I>Sun Oct 5 04:56:58 CEST 2014</I>
+ <P><UL>
+
+ <LI>Next message: <A HREF="000469.html">[99s-extend] Prevent resource creation on POST
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#468">[ date ]</a>
+ <a href="thread.html#468">[ thread ]</a>
+ <a href="subject.html#468">[ subject ]</a>
+ <a href="author.html#468">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>Hello,
+
+I was recently tinkering with cowboy_rest and found that there is no way prevent resource creation in a POST request when it already exists. Either that, or I'm probably not doing something right or don't know enough...
+
+Here's what I have running:
+A user tries to signup with a post request. To be successful, the username has to be unique. The resource_exists/2 method responds with proper true and false values by looking at the request body.
+
+Here's what I want done:
+Iff the resource_exists callback returns true, I don't want the AcceptResource callback to run at all. Instead, I want to send a 4XX status and halt. Is there a canonical way of doing this?
+
+Cheers,
+
+AH
+</PRE>
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+
+ <LI>Next message: <A HREF="000469.html">[99s-extend] Prevent resource creation on POST
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#468">[ date ]</a>
+ <a href="thread.html#468">[ thread ]</a>
+ <a href="subject.html#468">[ subject ]</a>
+ <a href="author.html#468">[ 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-October/000469.html b/archives/extend/2014-October/000469.html
new file mode 100644
index 00000000..edbb5ab7
--- /dev/null
+++ b/archives/extend/2014-October/000469.html
@@ -0,0 +1,89 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [99s-extend] Prevent resource creation on POST
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Prevent%20resource%20creation%20on%20POST&In-Reply-To=%3C5430F7EC.4080306%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="000468.html">
+ <LINK REL="Next" HREF="000470.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[99s-extend] Prevent resource creation on POST</H1>
+ <B>Lo&#239;c Hoguin</B>
+ <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Prevent%20resource%20creation%20on%20POST&In-Reply-To=%3C5430F7EC.4080306%40ninenines.eu%3E"
+ TITLE="[99s-extend] Prevent resource creation on POST">essen at ninenines.eu
+ </A><BR>
+ <I>Sun Oct 5 09:49:00 CEST 2014</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="000468.html">[99s-extend] Prevent resource creation on POST
+</A></li>
+ <LI>Next message: <A HREF="000470.html">[99s-extend] PUT on new resource and status 201
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#469">[ date ]</a>
+ <a href="thread.html#469">[ thread ]</a>
+ <a href="subject.html#469">[ subject ]</a>
+ <a href="author.html#469">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>If resource_exists = true, then POST doesn't create but update the
+resource at the given URI. If what you are doing is something like
+write-once resources then you will have to reject these cases manually
+by returning halt at some point.
+
+On 10/05/2014 05:56 AM, Amol Hatwar wrote:
+&gt;<i> Hello,
+</I>&gt;<i>
+</I>&gt;<i> I was recently tinkering with cowboy_rest and found that there is no way prevent resource creation in a POST request when it already exists. Either that, or I'm probably not doing something right or don't know enough...
+</I>&gt;<i>
+</I>&gt;<i> Here's what I have running:
+</I>&gt;<i> A user tries to signup with a post request. To be successful, the username has to be unique. The resource_exists/2 method responds with proper true and false values by looking at the request body.
+</I>&gt;<i>
+</I>&gt;<i> Here's what I want done:
+</I>&gt;<i> Iff the resource_exists callback returns true, I don't want the AcceptResource callback to run at all. Instead, I want to send a 4XX status and halt. Is there a canonical way of doing this?
+</I>&gt;<i>
+</I>&gt;<i> Cheers,
+</I>&gt;<i>
+</I>&gt;<i> AH
+</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>
+</I>&gt;<i> <A HREF="https://lists.ninenines.eu/listinfo/extend">https://lists.ninenines.eu/listinfo/extend</A>
+</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="000468.html">[99s-extend] Prevent resource creation on POST
+</A></li>
+ <LI>Next message: <A HREF="000470.html">[99s-extend] PUT on new resource and status 201
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#469">[ date ]</a>
+ <a href="thread.html#469">[ thread ]</a>
+ <a href="subject.html#469">[ subject ]</a>
+ <a href="author.html#469">[ 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-October/000470.html b/archives/extend/2014-October/000470.html
new file mode 100644
index 00000000..f2c4238c
--- /dev/null
+++ b/archives/extend/2014-October/000470.html
@@ -0,0 +1,95 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [99s-extend] PUT on new resource and status 201
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20PUT%20on%20new%20resource%20and%20status%20201&In-Reply-To=%3CCAE7UswcWMj-voOs4eSbYxNyfkHZ8anCeUr6JyBGU%2BRhODk5Nig%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="000469.html">
+ <LINK REL="Next" HREF="000471.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[99s-extend] PUT on new resource and status 201</H1>
+ <B>Stefan Strigler</B>
+ <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20PUT%20on%20new%20resource%20and%20status%20201&In-Reply-To=%3CCAE7UswcWMj-voOs4eSbYxNyfkHZ8anCeUr6JyBGU%2BRhODk5Nig%40mail.gmail.com%3E"
+ TITLE="[99s-extend] PUT on new resource and status 201">stefan.strigler at gmail.com
+ </A><BR>
+ <I>Tue Oct 14 10:05:53 CEST 2014</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="000469.html">[99s-extend] Prevent resource creation on POST
+</A></li>
+ <LI>Next message: <A HREF="000471.html">[99s-extend] PUT on new resource and status 201
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#470">[ date ]</a>
+ <a href="thread.html#470">[ thread ]</a>
+ <a href="subject.html#470">[ subject ]</a>
+ <a href="author.html#470">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>Hey,
+
+just subscribed yesterday and now that's already my first question.
+
+I'm referring to
+<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> Given you
+have a PUT on a new resource the diagram suggests that the response's
+status code depends on whether you've set a location and/or body. But when
+looking at the code (v1.0.0) then cowboy_rest:maybe_created/2 would always
+return a 201. No matter what. I think the code is right, but the diagram
+needs to be fixed.
+
+But then I'm not totally sure how to interpret
+<A HREF="http://tools.ietf.org/html/rfc2616#section-10.2.2">http://tools.ietf.org/html/rfc2616#section-10.2.2</A> which states
+
+ The newly created resource can be referenced by the URI(s)
+ returned in the entity of the response, with the most specific URI
+ for the resource given by a Location header field.
+
+
+Because currently it is totally possible to not have a location header
+set (just as no body) for the response. In my opinion the current code
+behaves good enough and it's up to the service to ensure the
+requirements as stated by the RFC. Should cowboy enforce a header
+field? Should it try to figure that out on its own?
+
+
+Regards,
+
+
+Stefan
+-------------- next part --------------
+An HTML attachment was scrubbed...
+URL: &lt;<A HREF="http://lists.ninenines.eu/archives/extend/attachments/20141014/d89bced6/attachment.html">http://lists.ninenines.eu/archives/extend/attachments/20141014/d89bced6/attachment.html</A>&gt;
+</PRE>
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="000469.html">[99s-extend] Prevent resource creation on POST
+</A></li>
+ <LI>Next message: <A HREF="000471.html">[99s-extend] PUT on new resource and status 201
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#470">[ date ]</a>
+ <a href="thread.html#470">[ thread ]</a>
+ <a href="subject.html#470">[ subject ]</a>
+ <a href="author.html#470">[ 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-October/000471.html b/archives/extend/2014-October/000471.html
new file mode 100644
index 00000000..6651b47d
--- /dev/null
+++ b/archives/extend/2014-October/000471.html
@@ -0,0 +1,105 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [99s-extend] PUT on new resource and status 201
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20PUT%20on%20new%20resource%20and%20status%20201&In-Reply-To=%3CF354B66E-52D3-427F-99F1-FEE86B9F3AEF%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="000470.html">
+ <LINK REL="Next" HREF="000472.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[99s-extend] PUT on new resource and status 201</H1>
+ <B>Camille Troillard</B>
+ <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20PUT%20on%20new%20resource%20and%20status%20201&In-Reply-To=%3CF354B66E-52D3-427F-99F1-FEE86B9F3AEF%40tuli.pe%3E"
+ TITLE="[99s-extend] PUT on new resource and status 201">lists at tuli.pe
+ </A><BR>
+ <I>Tue Oct 14 10:42:54 CEST 2014</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="000470.html">[99s-extend] PUT on new resource and status 201
+</A></li>
+ <LI>Next message: <A HREF="000472.html">[99s-extend] PUT on new resource and status 201
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#471">[ date ]</a>
+ <a href="thread.html#471">[ thread ]</a>
+ <a href="subject.html#471">[ subject ]</a>
+ <a href="author.html#471">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>Hi Stefan,
+
+
+On 14 Oct 2014, at 10:05, Stefan Strigler &lt;<A HREF="https://lists.ninenines.eu/listinfo/extend">stefan.strigler at gmail.com</A>&gt; wrote:
+
+&gt;<i> just subscribed yesterday and now that's already my first question.
+</I>&gt;<i>
+</I>&gt;<i> I'm referring to <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> Given you have a PUT on a new resource the diagram suggests that the response's status code depends on whether you've set a location and/or body.
+</I>
+This is correct, I have experience this behaviour on Cowboy 1.0.0 and 2.0.0-pre.1.
+
+
+&gt;<i> But when looking at the code (v1.0.0) then cowboy_rest:maybe_created/2 would always return a 201. No matter what. I think the code is right, but the diagram needs to be fixed.
+</I>
+Could you be more specific?
+I&#8217;m afraid it is not how it works for me.
+
+
+&gt;<i> But then I'm not totally sure how to interpret <A HREF="http://tools.ietf.org/html/rfc2616#section-10.2.2">http://tools.ietf.org/html/rfc2616#section-10.2.2</A> which states
+</I>&gt;<i>
+</I>&gt;<i> The newly created resource can be referenced by the URI(s)
+</I>&gt;<i> returned in the entity of the response, with the most specific URI
+</I>&gt;<i> for the resource given by a Location header field.
+</I>&gt;<i>
+</I>&gt;<i> Because currently it is totally possible to not have a location header set (just as no body) for the response. In my opinion the current code behaves good enough and it's up to the service to ensure the requirements as stated by the RFC. Should cowboy enforce a header field? Should it try to figure that out on its own?
+</I>
+I think how Cowboy does is best at the moment.
+I like to have the freedom to specify myself the Location, especially when PUT-ting new resources.
+
+
+A bit off topic, I think this article is interesting regarding RFC-2616.
+
+ <A HREF="https://www.mnot.net/blog/2014/06/07/rfc2616_is_dead">https://www.mnot.net/blog/2014/06/07/rfc2616_is_dead</A>
+
+Given that, you might want to have a look at RFC-7231, section 3.1.4.2:
+
+ <A HREF="http://tools.ietf.org/html/rfc7231#section-3.1.4.2.">http://tools.ietf.org/html/rfc7231#section-3.1.4.2.</A>
+
+
+Camille
+
+-------------- next part --------------
+An HTML attachment was scrubbed...
+URL: &lt;<A HREF="http://lists.ninenines.eu/archives/extend/attachments/20141014/77f74bf0/attachment-0001.html">http://lists.ninenines.eu/archives/extend/attachments/20141014/77f74bf0/attachment-0001.html</A>&gt;
+</PRE>
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="000470.html">[99s-extend] PUT on new resource and status 201
+</A></li>
+ <LI>Next message: <A HREF="000472.html">[99s-extend] PUT on new resource and status 201
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#471">[ date ]</a>
+ <a href="thread.html#471">[ thread ]</a>
+ <a href="subject.html#471">[ subject ]</a>
+ <a href="author.html#471">[ 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-October/000472.html b/archives/extend/2014-October/000472.html
new file mode 100644
index 00000000..e1c3955e
--- /dev/null
+++ b/archives/extend/2014-October/000472.html
@@ -0,0 +1,97 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [99s-extend] PUT on new resource and status 201
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20PUT%20on%20new%20resource%20and%20status%20201&In-Reply-To=%3C543CFD10.1050701%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="000471.html">
+ <LINK REL="Next" HREF="000473.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[99s-extend] PUT on new resource and status 201</H1>
+ <B>Lo&#239;c Hoguin</B>
+ <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20PUT%20on%20new%20resource%20and%20status%20201&In-Reply-To=%3C543CFD10.1050701%40ninenines.eu%3E"
+ TITLE="[99s-extend] PUT on new resource and status 201">essen at ninenines.eu
+ </A><BR>
+ <I>Tue Oct 14 12:38:08 CEST 2014</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="000471.html">[99s-extend] PUT on new resource and status 201
+</A></li>
+ <LI>Next message: <A HREF="000473.html">[99s-extend] Cowboy, IE9, and HTTPS
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#472">[ date ]</a>
+ <a href="thread.html#472">[ thread ]</a>
+ <a href="subject.html#472">[ subject ]</a>
+ <a href="author.html#472">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>Hi,
+
+On 10/14/2014 10:05 AM, Stefan Strigler wrote:
+&gt;<i> I'm referring to
+</I>&gt;<i> <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> Given you
+</I>&gt;<i> have a PUT on a new resource the diagram suggests that the response's
+</I>&gt;<i> status code depends on whether you've set a location and/or body. But
+</I>&gt;<i> when looking at the code (v1.0.0) then cowboy_rest:maybe_created/2 would
+</I>&gt;<i> always return a 201. No matter what. I think the code is right, but the
+</I>&gt;<i> diagram needs to be fixed.
+</I>
+Yes it looks like you are on to something there. Please open a ticket
+and I will look later on. There's another change near that area that
+needs to be made with POST, I will look at both at the same time.
+
+&gt;<i> But then I'm not totally sure how to interpret
+</I>&gt;<i> <A HREF="http://tools.ietf.org/html/rfc2616#section-10.2.2">http://tools.ietf.org/html/rfc2616#section-10.2.2</A> which states
+</I>&gt;<i>
+</I>&gt;<i> The newly created resource can be referenced by the URI(s)
+</I>&gt;<i> returned in the entity of the response, with the most specific URI
+</I>&gt;<i> for the resource given by a Location header field.
+</I>&gt;<i>
+</I>&gt;<i>
+</I>&gt;<i> Because currently it is totally possible to not have a location header set (just as no body) for the response. In my opinion the current code behaves good enough and it's up to the service to ensure the requirements as stated by the RFC. Should cowboy enforce a header field? Should it try to figure that out on its own?
+</I>
+201 does not require a location header if the resource is created at the
+path indicated by the request. Specifying a different URI is a rare
+occurrence with PUT, it should only occur if you create the resource on
+a different domain name (think a CDN pushing the file to a subdomain).
+
+And as Camille stated, forget RFC 2616, the various RFCs from httpbis is
+where it's at now.
+
+--
+Lo&#239;c Hoguin
+<A HREF="http://ninenines.eu">http://ninenines.eu</A>
+</PRE>
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="000471.html">[99s-extend] PUT on new resource and status 201
+</A></li>
+ <LI>Next message: <A HREF="000473.html">[99s-extend] Cowboy, IE9, and HTTPS
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#472">[ date ]</a>
+ <a href="thread.html#472">[ thread ]</a>
+ <a href="subject.html#472">[ subject ]</a>
+ <a href="author.html#472">[ 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-October/000473.html b/archives/extend/2014-October/000473.html
new file mode 100644
index 00000000..ad2ee5ce
--- /dev/null
+++ b/archives/extend/2014-October/000473.html
@@ -0,0 +1,78 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [99s-extend] Cowboy, IE9, and HTTPS
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Cowboy%2C%20IE9%2C%20and%20HTTPS&In-Reply-To=%3CCFEC2ABD93715E4B96AAD927F5AAB44C7514BC20%40DSXMBX1HE.ds.ad.adp.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="000472.html">
+
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[99s-extend] Cowboy, IE9, and HTTPS</H1>
+ <B>Hiers, David</B>
+ <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Cowboy%2C%20IE9%2C%20and%20HTTPS&In-Reply-To=%3CCFEC2ABD93715E4B96AAD927F5AAB44C7514BC20%40DSXMBX1HE.ds.ad.adp.com%3E"
+ TITLE="[99s-extend] Cowboy, IE9, and HTTPS">David.Hiers at cdk.com
+ </A><BR>
+ <I>Fri Oct 31 15:43:22 CET 2014</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="000472.html">[99s-extend] PUT on new resource and status 201
+</A></li>
+
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#473">[ date ]</a>
+ <a href="thread.html#473">[ thread ]</a>
+ <a href="subject.html#473">[ subject ]</a>
+ <a href="author.html#473">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>Hello,
+
+Has anyone had trouble getting IE9 connecting to Cowboy over HTTPS?
+
+We're using Cowboy embedded in MongooseIM, and IE9 is giving us fits.
+
+
+Thanks,
+
+
+
+
+David
+
+
+----------------------------------------------------------------------
+This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, notify the sender immediately by return email and delete the message and any attachments from your system.
+-------------- next part --------------
+An HTML attachment was scrubbed...
+URL: &lt;<A HREF="http://lists.ninenines.eu/archives/extend/attachments/20141031/fc6724a7/attachment.html">http://lists.ninenines.eu/archives/extend/attachments/20141031/fc6724a7/attachment.html</A>&gt;
+</PRE>
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="000472.html">[99s-extend] PUT on new resource and status 201
+</A></li>
+
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#473">[ date ]</a>
+ <a href="thread.html#473">[ thread ]</a>
+ <a href="subject.html#473">[ subject ]</a>
+ <a href="author.html#473">[ 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-October/author.html b/archives/extend/2014-October/author.html
new file mode 100644
index 00000000..24771b30
--- /dev/null
+++ b/archives/extend/2014-October/author.html
@@ -0,0 +1,77 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<HTML>
+ <HEAD>
+ <title>The Extend October 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>October 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>Sun Oct 5 04:56:58 CEST 2014</i><br>
+ <b>Ending:</b> <i>Fri Oct 31 15:43:22 CET 2014</i><br>
+ <b>Messages:</b> 6<p>
+ <ul>
+
+<LI><A HREF="000468.html">[99s-extend] Prevent resource creation on POST
+</A><A NAME="468">&nbsp;</A>
+<I>Amol Hatwar
+</I>
+
+<LI><A HREF="000473.html">[99s-extend] Cowboy, IE9, and HTTPS
+</A><A NAME="473">&nbsp;</A>
+<I>Hiers, David
+</I>
+
+<LI><A HREF="000469.html">[99s-extend] Prevent resource creation on POST
+</A><A NAME="469">&nbsp;</A>
+<I>Lo&#239;c Hoguin
+</I>
+
+<LI><A HREF="000472.html">[99s-extend] PUT on new resource and status 201
+</A><A NAME="472">&nbsp;</A>
+<I>Lo&#239;c Hoguin
+</I>
+
+<LI><A HREF="000470.html">[99s-extend] PUT on new resource and status 201
+</A><A NAME="470">&nbsp;</A>
+<I>Stefan Strigler
+</I>
+
+<LI><A HREF="000471.html">[99s-extend] PUT on new resource and status 201
+</A><A NAME="471">&nbsp;</A>
+<I>Camille Troillard
+</I>
+
+ </ul>
+ <p>
+ <a name="end"><b>Last message date:</b></a>
+ <i>Fri Oct 31 15:43:22 CET 2014</i><br>
+ <b>Archived on:</b> <i>Fri Oct 31 15:43:44 CET 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-October/date.html b/archives/extend/2014-October/date.html
new file mode 100644
index 00000000..683cdab8
--- /dev/null
+++ b/archives/extend/2014-October/date.html
@@ -0,0 +1,77 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<HTML>
+ <HEAD>
+ <title>The Extend October 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>October 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>Sun Oct 5 04:56:58 CEST 2014</i><br>
+ <b>Ending:</b> <i>Fri Oct 31 15:43:22 CET 2014</i><br>
+ <b>Messages:</b> 6<p>
+ <ul>
+
+<LI><A HREF="000468.html">[99s-extend] Prevent resource creation on POST
+</A><A NAME="468">&nbsp;</A>
+<I>Amol Hatwar
+</I>
+
+<LI><A HREF="000469.html">[99s-extend] Prevent resource creation on POST
+</A><A NAME="469">&nbsp;</A>
+<I>Lo&#239;c Hoguin
+</I>
+
+<LI><A HREF="000470.html">[99s-extend] PUT on new resource and status 201
+</A><A NAME="470">&nbsp;</A>
+<I>Stefan Strigler
+</I>
+
+<LI><A HREF="000471.html">[99s-extend] PUT on new resource and status 201
+</A><A NAME="471">&nbsp;</A>
+<I>Camille Troillard
+</I>
+
+<LI><A HREF="000472.html">[99s-extend] PUT on new resource and status 201
+</A><A NAME="472">&nbsp;</A>
+<I>Lo&#239;c Hoguin
+</I>
+
+<LI><A HREF="000473.html">[99s-extend] Cowboy, IE9, and HTTPS
+</A><A NAME="473">&nbsp;</A>
+<I>Hiers, David
+</I>
+
+ </ul>
+ <p>
+ <a name="end"><b>Last message date:</b></a>
+ <i>Fri Oct 31 15:43:22 CET 2014</i><br>
+ <b>Archived on:</b> <i>Fri Oct 31 15:43:44 CET 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-October/index.html b/archives/extend/2014-October/index.html
new file mode 100644
index 00000000..85acc3a6
--- /dev/null
+++ b/archives/extend/2014-October/index.html
@@ -0,0 +1,87 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<HTML>
+ <HEAD>
+ <title>The Extend October 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>October 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>Sun Oct 5 04:56:58 CEST 2014</i><br>
+ <b>Ending:</b> <i>Fri Oct 31 15:43:22 CET 2014</i><br>
+ <b>Messages:</b> 6<p>
+ <ul>
+
+<!--0 01412477818.468- -->
+<LI><A HREF="000468.html">[99s-extend] Prevent resource creation on POST
+</A><A NAME="468">&nbsp;</A>
+<I>Amol Hatwar
+</I>
+
+<UL>
+<!--1 01412477818.468-01412495340.469- -->
+<LI><A HREF="000469.html">[99s-extend] Prevent resource creation on POST
+</A><A NAME="469">&nbsp;</A>
+<I>Lo&#239;c Hoguin
+</I>
+
+</UL>
+<!--0 01413273953.470- -->
+<LI><A HREF="000470.html">[99s-extend] PUT on new resource and status 201
+</A><A NAME="470">&nbsp;</A>
+<I>Stefan Strigler
+</I>
+
+<UL>
+<!--1 01413273953.470-01413276174.471- -->
+<LI><A HREF="000471.html">[99s-extend] PUT on new resource and status 201
+</A><A NAME="471">&nbsp;</A>
+<I>Camille Troillard
+</I>
+
+<!--1 01413273953.470-01413283088.472- -->
+<LI><A HREF="000472.html">[99s-extend] PUT on new resource and status 201
+</A><A NAME="472">&nbsp;</A>
+<I>Lo&#239;c Hoguin
+</I>
+
+</UL>
+<!--0 01414766602.473- -->
+<LI><A HREF="000473.html">[99s-extend] Cowboy, IE9, and HTTPS
+</A><A NAME="473">&nbsp;</A>
+<I>Hiers, David
+</I>
+
+ </ul>
+ <p>
+ <a name="end"><b>Last message date:</b></a>
+ <i>Fri Oct 31 15:43:22 CET 2014</i><br>
+ <b>Archived on:</b> <i>Fri Oct 31 15:43:44 CET 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-October/subject.html b/archives/extend/2014-October/subject.html
new file mode 100644
index 00000000..248289eb
--- /dev/null
+++ b/archives/extend/2014-October/subject.html
@@ -0,0 +1,77 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<HTML>
+ <HEAD>
+ <title>The Extend October 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>October 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>Sun Oct 5 04:56:58 CEST 2014</i><br>
+ <b>Ending:</b> <i>Fri Oct 31 15:43:22 CET 2014</i><br>
+ <b>Messages:</b> 6<p>
+ <ul>
+
+<LI><A HREF="000473.html">[99s-extend] Cowboy, IE9, and HTTPS
+</A><A NAME="473">&nbsp;</A>
+<I>Hiers, David
+</I>
+
+<LI><A HREF="000468.html">[99s-extend] Prevent resource creation on POST
+</A><A NAME="468">&nbsp;</A>
+<I>Amol Hatwar
+</I>
+
+<LI><A HREF="000469.html">[99s-extend] Prevent resource creation on POST
+</A><A NAME="469">&nbsp;</A>
+<I>Lo&#239;c Hoguin
+</I>
+
+<LI><A HREF="000470.html">[99s-extend] PUT on new resource and status 201
+</A><A NAME="470">&nbsp;</A>
+<I>Stefan Strigler
+</I>
+
+<LI><A HREF="000471.html">[99s-extend] PUT on new resource and status 201
+</A><A NAME="471">&nbsp;</A>
+<I>Camille Troillard
+</I>
+
+<LI><A HREF="000472.html">[99s-extend] PUT on new resource and status 201
+</A><A NAME="472">&nbsp;</A>
+<I>Lo&#239;c Hoguin
+</I>
+
+ </ul>
+ <p>
+ <a name="end"><b>Last message date:</b></a>
+ <i>Fri Oct 31 15:43:22 CET 2014</i><br>
+ <b>Archived on:</b> <i>Fri Oct 31 15:43:44 CET 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-October/thread.html b/archives/extend/2014-October/thread.html
new file mode 100644
index 00000000..85acc3a6
--- /dev/null
+++ b/archives/extend/2014-October/thread.html
@@ -0,0 +1,87 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<HTML>
+ <HEAD>
+ <title>The Extend October 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>October 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>Sun Oct 5 04:56:58 CEST 2014</i><br>
+ <b>Ending:</b> <i>Fri Oct 31 15:43:22 CET 2014</i><br>
+ <b>Messages:</b> 6<p>
+ <ul>
+
+<!--0 01412477818.468- -->
+<LI><A HREF="000468.html">[99s-extend] Prevent resource creation on POST
+</A><A NAME="468">&nbsp;</A>
+<I>Amol Hatwar
+</I>
+
+<UL>
+<!--1 01412477818.468-01412495340.469- -->
+<LI><A HREF="000469.html">[99s-extend] Prevent resource creation on POST
+</A><A NAME="469">&nbsp;</A>
+<I>Lo&#239;c Hoguin
+</I>
+
+</UL>
+<!--0 01413273953.470- -->
+<LI><A HREF="000470.html">[99s-extend] PUT on new resource and status 201
+</A><A NAME="470">&nbsp;</A>
+<I>Stefan Strigler
+</I>
+
+<UL>
+<!--1 01413273953.470-01413276174.471- -->
+<LI><A HREF="000471.html">[99s-extend] PUT on new resource and status 201
+</A><A NAME="471">&nbsp;</A>
+<I>Camille Troillard
+</I>
+
+<!--1 01413273953.470-01413283088.472- -->
+<LI><A HREF="000472.html">[99s-extend] PUT on new resource and status 201
+</A><A NAME="472">&nbsp;</A>
+<I>Lo&#239;c Hoguin
+</I>
+
+</UL>
+<!--0 01414766602.473- -->
+<LI><A HREF="000473.html">[99s-extend] Cowboy, IE9, and HTTPS
+</A><A NAME="473">&nbsp;</A>
+<I>Hiers, David
+</I>
+
+ </ul>
+ <p>
+ <a name="end"><b>Last message date:</b></a>
+ <i>Fri Oct 31 15:43:22 CET 2014</i><br>
+ <b>Archived on:</b> <i>Fri Oct 31 15:43:44 CET 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>
+