Changes between Initial Version and Version 1 of Ticket #27606


Ignore:
Timestamp:
Dec 15, 2016, 9:11:59 AM (8 years ago)
Author:
Jerome Leclanche
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #27606 – Description

    initial v1  
    1 When initializing an HttpResponseRedirect with a redirect url that does not match the `allowed_schemes` attribute, the DisallowedRedirect exception is raised before ``super(HttpResponseRedirectBase, self).__init__(*args, **kwargs)`` is called, which sets `self._headers`.
     1When initializing an HttpResponseRedirect with a redirect url that does not match the `allowed_schemes` attribute, the DisallowedRedirect exception is raised before `super(HttpResponseRedirectBase, self).__init__(*args, **kwargs)` is called, which sets `self._headers`.
    22
    33This causes repr()ing/printing the response to error out with AttributeError: 'HttpResponseRedirect' object has no attribute '_headers'.
Back to Top