I saw this in the routes manual...
(http://routes.groovie.org/manual.html)
m.connect('user/list', controller='user', action='list',
conditions=dict(method=['GET', 'HEAD']))
jw
On Nov 16, 5:00 am, "Lawrence Oluyede" <[EMAIL PROTECTED]> wrote:
> I'd like to implement support for HEAD on some kind of resources in my
> web application.
>
> I use map.resource() to autogenerate the RESTful routes, but HEAD is
> not included by default
> How can I do that? I tried to manually connect another route after the
> map.resource() but it didn't work.
>
> Any hints?
>
> --
> Lawrence, oluyede.org - neropercaso.it
> "It is difficult to get a man to understand
> something when his salary depends on not
> understanding it" - Upton Sinclair
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---