2007/8/29, David Larlet <[EMAIL PROTECTED]>: > Hello all, > > I wonder if there is an alternative of the HttpMethodsMiddleware > snippet http://www.djangosnippets.org/snippets/174/ which works with > mod_python because for the moment it raises an AttributeError when you > try to modify the request.method: > > request.method = request.REQUEST[_MIDDLEWARE_KEY].upper() > AttributeError: can't set attribute > > Any thoughts? >
I'm a bit surprised that nobody use this snippet with this configuration?! David --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---