durusmail: qp: cookies and redirects
cookies and redirects
2005-12-12
2005-12-12
2005-12-12
2005-12-13
2005-12-13
2005-12-13
2005-12-13
2005-12-13
cookies and redirects
mario ruggier
2005-12-12
On Dec 13, 2005, at 12:01 AM, mario ruggier wrote:
> I wonder if it might be generally useful to have a redirect that does
> not initialize the response from scratch? Are there other use cases
> that fall into this scenario?

This change achieves what I mean:

     def redirect(self, location, permanent=False, init_response=True):
         ...
         if init_response:
             self.get_hit().init_response()
        ...

But, are there problems with this that I do not see?

mario

reply