On Wednesday 24 June 2015 15:15:35 François Schiettecatte wrote: > > Sounds right, but you can do that already with handler403. The change > proposed changes the handling of the user agent to raising > PermissionDenied exception rather than returning a > HttpResponseForbidden(). >
That is exactly the point: Before the proposed change, you *cannot* control the page returned for disallowed user agent via handler403(), because that handler is called when the PermissionDenied exception is raised, not when a Response object is returned. Shai.
