Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Query as to why diazo.XS:TMiddlware.should_transform doesn't allow 401 #26

Open
mgrbyte opened this issue Nov 19, 2013 · 0 comments
Open

Comments

@mgrbyte
Copy link

mgrbyte commented Nov 19, 2013

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant