diazo
diazo copied to clipboard
Query as to why diazo.XS:TMiddlware.should_transform doesn't allow 401
Hi,
I'm working with an app where I'd like to (re)display the login form on authentication errors, but am unable to set the correct HTTP response and have the form look correct, since diazo.XSLTMiddlware.should_transform returns False for HTTP 401.
Is there a good reason for this, or could a way be provided to override the behaviour?
e.g constructor paramter 'skip_transform_for_http_status=
Thanks!