Robert Leftwich wrote:
> I'm setting up a REST-based set of URLs for a Pylons app using Routes and it 
> looks like there is an issue when using the pseudo-REQUEST_METHOD, i.e. 
> '_method' and WebHelpers.
> 
> In particular, if I use h.link_to with an arg of 'method':'DELETE' the form 
> that 
> is generated for the link has the _method attribute set to 'delete', not 
> DELETE, 
> which causes Routes to fail to find a matching route.
> 
(snip)
> 
> There looks to be several other areas where the value for _method should be 
> upper-cased or the original method keyword arg should not be lower-cased :-)

Fact is that http method verbs should always be uppercase AFAICT:
http://www.w3.org/Protocols/rfc2616/rfc2616-sec5.html#sec5.1.1

-- 
bruno desthuilliers
développeur
[EMAIL PROTECTED]
http://www.modulix.com

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to