It's a tradition in Pylons to use the Atom REST protocol for model
objects with add/modify/delete forms. I've been half questioning that
myself because there's little advantage if all the clients are
interactive web browsers. But regardless of whether it's been
oversold, it's the way most Pylons users do their forms, so it needs a
straightforward migration path. WebHelpers form() helper automatically
converts the method if it's not POST or GET, and a lot of people will
be using that and expecting it to be converted back for their routes.

On Fri, Jan 21, 2011 at 12:05 PM, Chris McDonough <chr...@plope.com> wrote:
> It doesn't handle it.  I need to see credible examples use cases for it,
> I think.
>
> Various folks have wanted to add e.g. <input type="hidden"
> name="_method" value="PUT"/> to a Pyramid form post in my tenure in
> #pylons, but it's beyond me why someone would try to be emulating a
> "REST client" when using a browser, as the access patterns and expected
> responses for REST APIs are dramatically different than those of a user
> using a browser (authentication is usually different, usually REST
> methods don't return HTML, etc).
>
> - C
>
> On Fri, 2011-01-21 at 11:55 -0800, Mike Orr wrote:
>> How does Pyramid handle HTTP method tunneling? Where the formal method
>> is POST and the actual method is in a '_method' param? it's not really
>> a form library issue because you'd want it uniform across all
>> libraries. How does Pylons do it? Is it in WebOb? Is it something we
>> need to add?
>>
>> --
>> Mike Orr <sluggos...@gmail.com>
>>
>
>
> --
> You received this message because you are subscribed to the Google Groups 
> "pylons-devel" group.
> To post to this group, send email to pylons-devel@googlegroups.com.
> To unsubscribe from this group, send email to 
> pylons-devel+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/pylons-devel?hl=en.
>
>



-- 
Mike Orr <sluggos...@gmail.com>

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-devel" group.
To post to this group, send email to pylons-devel@googlegroups.com.
To unsubscribe from this group, send email to 
pylons-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/pylons-devel?hl=en.

Reply via email to