#2036: TG gives 500 server error instead of 403 or 404
--------------------------------------------------------------------+-------
Reporter: chrisz |
Owner: faide
Type: defect |
Status: new
Priority: normal |
Milestone: 1.1
Component: TurboGears |
Version: 1.0.7
Severity: minor |
Resolution:
Keywords: needs tests, JSON, NoApplicableMethods, SecureResource |
--------------------------------------------------------------------+-------
Changes (by Chris Arndt):
* keywords: JSON, NoApplicableMethods, SecureResource => needs tests,
JSON, NoApplicableMethods, SecureResource
Comment:
Ok, I just added support to `IdentityFailure` for initiating HTTP Basic
authentication in r6665. It will now only return a 401 status (and an
appropriate `WWW-Authenticate` header) if the config setting
`identity.http_basic_auth` is `True` and status 403 otherwise.
--
Ticket URL: <http://trac.turbogears.org/ticket/2036#comment:15>
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
-~----------~----~----~----~------~----~------~--~---