Opened 12 years ago

Last modified 12 years ago

#305 closed defect (FIXED)

Getting unwarranted exceptions (from CSRF code) when crawled by GoogleBot & friends

Reported by: Christopher Allan Webber Owned by: nyergler
Priority: minor Milestone: 0.2.0
Component: programming Keywords:
Cc: Parent Tickets:


Errors are like so:


    Error - <type 'exceptions.AttributeError'>: 'BaseResponse' object has no attribute 'vary'
    File '/srv/', line 144 in __call__
      app_iter = self.application(environ, sr_checker)
    File '/srv/', line 155 in __call__
      return self.wrap_app(environ, session_start_response)
    File '/srv/', line 175 in __call__
      m.process_response(request, response)
    File '/srv/', line 101 in process_response
      response.vary = (response.vary or []) + ['Cookie']
    AttributeError: 'BaseResponse' object has no attribute 'vary'

It looks like there is no response.vary, which is what is causing
this error...

Change History (3)

comment:1 by nyergler, 12 years ago

Status: NewResolved
This is resolved with Merge Request 30.

`\_requests/30 <>`_

comment:2 by Christopher Allan Webber, 12 years ago

Status: ResolvedClosed
Merged. Thanks!

comment:3 by Will Kahn-Greene, 12 years ago

The original url for this bug was .

Note: See TracTickets for help on using tickets.