Re: 'tuple' object has no attribute 'has_header'

2009-02-22 Thread Margie
nt/ > > middleware.py", line 28, in process_response > >    patch_vary_headers(response, ('Accept-Language',)) > >  File "/tools/aticad/1.0/external/python-2.5.1/lib/python2.5/site- > > packages/django/utils/cache.py", line 129, in patch_vary_headers &

Re: 'tuple' object has no attribute 'has_header'

2009-02-22 Thread Alex Gaynor
b/python2.5/site- > packages/django/utils/cache.py", line 129, in patch_vary_headers >if response.has_header('Vary'): > AttributeError: 'tuple' object has no attribute 'has_header' > > I believe my code is in the same state it was when it

'tuple' object has no attribute 'has_header'

2009-02-22 Thread Margie
ccount/ middleware.py", line 28, in process_response patch_vary_headers(response, ('Accept-Language',)) File "/tools/aticad/1.0/external/python-2.5.1/lib/python2.5/site- packages/django/utils/cache.py", line 129, in patch_vary_headers if response.has_header('Vary&#