blob: 69f9c341b702f5c969726eb209fb540d04ba75d0 (
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=%3C20121113151214.GE17626%40members.linode.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="000011.html">
<LINK REL="Next" HREF="000013.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[99s-extend] Proposal for Cowboy Routing</H1>
<B>Thomas Allen</B>
<A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Proposal%20for%20Cowboy%20Routing&In-Reply-To=%3C20121113151214.GE17626%40members.linode.com%3E"
TITLE="[99s-extend] Proposal for Cowboy Routing">thomas at oinksoft.com
</A><BR>
<I>Tue Nov 13 16:12:14 CET 2012</I>
<P><UL>
<LI>Previous message: <A HREF="000011.html">[99s-extend] Proposal for Cowboy Routing
</A></li>
<LI>Next message: <A HREF="000013.html">[99s-extend] Proposal for Cowboy Routing
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#12">[ date ]</a>
<a href="thread.html#12">[ thread ]</a>
<a href="subject.html#12">[ subject ]</a>
<a href="author.html#12">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>On Tue, Nov 13, 2012 at 03:41:35PM +0100, Loïc Hoguin wrote:
><i> Oh alright. Well they are equivalent URLs, so if you really need to
</I>><i> redirect I would do so in the handler directly, or through a request
</I>><i> hook.
</I>
I suppose this suggests my next question ... how would one accomplish
this right now in Cowboy? I hope I'm correct in assuming that this will
involve cowboy_dispatcher:match/3 in an onrequest fun, but I do not
understand how I will use match/3 with what I get from
cowboy_req:path/1.
Thomas
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="000011.html">[99s-extend] Proposal for Cowboy Routing
</A></li>
<LI>Next message: <A HREF="000013.html">[99s-extend] Proposal for Cowboy Routing
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#12">[ date ]</a>
<a href="thread.html#12">[ thread ]</a>
<a href="subject.html#12">[ subject ]</a>
<a href="author.html#12">[ author ]</a>
</LI>
</UL>
<hr>
<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend
mailing list</a><br>
</body></html>
|