2007/8/31, Benjamin Slavin <[EMAIL PROTECTED]>:
>
> On 8/31/07, David Larlet <[EMAIL PROTECTED]> wrote:
> > > request.method = request.REQUEST[_MIDDLEWARE_KEY].upper()
> > > AttributeError: can't set attribute
> > >
>
> Hello David,
Hi Ben,
>
> I don't have a mod_python install I can easily test
On 8/31/07, David Larlet <[EMAIL PROTECTED]> wrote:
> > request.method = request.REQUEST[_MIDDLEWARE_KEY].upper()
> > AttributeError: can't set attribute
> >
Hello David,
I don't have a mod_python install I can easily test on, but could you
try this for me:
request._req.method = request.REQUEST
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
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_K
4 matches
Mail list logo