On Mar 14, 2011, at 4:13 PM, Stephen Lacy wrote: > Yeah, implicitly breaking HEAD sucks. :)
Using the request_method to explicitly only handle a single request method with a single view isn't implicit. One explicitly has to set that predicate. As using a custom predicate for a limited set of methods also is not implicit. > Implicitly allowing POST data into GET requests also sucks. :) I can see where handling all requests if no predicate is defined could be considered implicit. I realized that right after sending my previous email:/ I am sure that some people handle the methods in their view, however. def aview(request): if request.method == "POST": do_post... elif request.method == "GET": do_get... elif ... ... Did the documentation lead you to believe that a request_method predicate was required to handle a request? If so, can you point out where? That would definitely be confusing. Cheers, ~ro -- 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.