summaryrefslogblamecommitdiffstats
path: root/archives/extend/2012-November/000009.html
blob: 4acec8be0d61fcc6d8794c4ed458296c44aa11a5 (plain) (tree)























































































                                                                                                                                                                                     
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
 <HEAD>
   <TITLE> [99s-extend] Proposal for Cowboy Routing
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Proposal%20for%20Cowboy%20Routing&In-Reply-To=%3C50A255AB.8090207%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="000008.html">
   <LINK REL="Next"  HREF="000010.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[99s-extend] Proposal for Cowboy Routing</H1>
    <B>Lo&#239;c Hoguin</B> 
    <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Proposal%20for%20Cowboy%20Routing&In-Reply-To=%3C50A255AB.8090207%40ninenines.eu%3E"
       TITLE="[99s-extend] Proposal for Cowboy Routing">essen at ninenines.eu
       </A><BR>
    <I>Tue Nov 13 15:14:03 CET 2012</I>
    <P><UL>
        <LI>Previous message: <A HREF="000008.html">[99s-extend] Proposal for Cowboy Routing
</A></li>
        <LI>Next message: <A HREF="000010.html">[99s-extend] Proposal for Cowboy Routing
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#9">[ date ]</a>
              <a href="thread.html#9">[ thread ]</a>
              <a href="subject.html#9">[ subject ]</a>
              <a href="author.html#9">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>On 11/13/2012 03:12 PM, Thomas Allen wrote:
&gt;<i> On Tue, Nov 13, 2012 at 10:04:17AM +0100, Lo&#239;c Hoguin wrote:
</I>&gt;&gt;<i> Hello!
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> I have put my thoughts on routing at the following gist:
</I>&gt;&gt;<i>
</I>&gt;&gt;<i>    <A HREF="https://gist.github.com/4064759">https://gist.github.com/4064759</A>
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> Please comment or cry in terror if you're against it!
</I>&gt;<i>
</I>&gt;<i> I think that this looks very good. The current router handles all of my
</I>&gt;<i> use cases, and this bit of sugar will definitely help to speed up
</I>&gt;<i> development.
</I>&gt;<i>
</I>&gt;<i> As an aside, have you considered adding optional slash-add
</I>&gt;<i> functionality, so that /a/b will match &quot;/a/b/&quot;? This is pretty easy to
</I>&gt;<i> set up at the server level, but the front-line server doesn't know about
</I>&gt;<i> our dispatch rules and so it doesn't know if there is a matching
</I>&gt;<i> dispatch rule for the slash-added version of a given URL.
</I>
/a/b already matches /a/b/.

-- 
Lo&#239;c Hoguin
Erlang Cowboy
Nine Nines
<A HREF="http://ninenines.eu">http://ninenines.eu</A>

</PRE>

<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="000008.html">[99s-extend] Proposal for Cowboy Routing
</A></li>
	<LI>Next message: <A HREF="000010.html">[99s-extend] Proposal for Cowboy Routing
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#9">[ date ]</a>
              <a href="thread.html#9">[ thread ]</a>
              <a href="subject.html#9">[ subject ]</a>
              <a href="author.html#9">[ author ]</a>
         </LI>
       </UL>

<hr>
<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend
mailing list</a><br>
</body></html>