#1985: Identity failure status getting overriden by CP3
------------------------+---------------------------------------------------
Reporter: kskuhlman | Owner: anonymous
Type: defect | Status: new
Priority: high | Milestone: 1.5
Component: TurboGears | Version: 1.5 HEAD
Severity: blocker | Keywords:
------------------------+---------------------------------------------------
In !CherryPy 3, CP exceptions set the response status code. This is a
problem with `identity.exceptions.IdentityFailure`, which is trying to do
a HTTPRedirect while setting the status to 401.
The current behavior is that CP is resetting the status code & returning a
200. Since CP 3 only allows 3XX statuses to be set for redirects, the
solution is not as simple as raising HTTPRedirect (which allows a status
parm) instead of `InternalRedirect` (which doesn't).
There are 10 tests in identity.tests.test_identity that have FIXMEs
attached to them for this issue.
--
Ticket URL: <http://trac.turbogears.org/ticket/1985>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "TurboGears Tickets" group.
This group is read-only. No posting by normal members allowed.
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---