Standard way of checking the required format (or file extension)

12 views
Skip to first unread message

matryer

unread,
Oct 21, 2011, 8:51:20 AM10/21/11
to goweb
In the new routing code, you can get extensions from the PathParams,
does this mean we should remove it as a variable from the Context? If
so, we could always add a helpful Format() func.

Thoughts?

Chris Farmiloe

unread,
Oct 21, 2011, 10:28:11 AM10/21/11
to golang...@googlegroups.com
Yeah my thoughts exactly ... in fact if you take a look at the [totally backwards incompatible] exp-params branch, you'll can start to see what my thoughts are here. I'm a bit busy at the mo, but I'll do a proper writeup of my ideas here hopefully this evening. 

Chris

matryer

unread,
Oct 21, 2011, 1:54:20 PM10/21/11
to goweb
I look forward to it

On Oct 21, 3:28 pm, Chris Farmiloe <chrisfa...@gmail.com> wrote:
> Yeah my thoughts exactly ... in fact if you take a look at the [totally
> backwards incompatible] exp-params branch, you'll can start to see what my
> thoughts are here. I'm a bit busy at the mo, but I'll do a proper writeup of
> my ideas here hopefully this evening.
>
> Chris
>
Reply all
Reply to author
Forward
0 new messages