#2152: TurboGears is shallowing up 401 from wsgi apps.
--------------------------+-------------------------------------------------
 Reporter:  jorge.vargas  |       Owner:  faide
     Type:  defect        |      Status:  new  
 Priority:  normal        |   Milestone:  2.0  
Component:  TurboGears    |     Version:  trunk
 Severity:  normal        |    Keywords:       
--------------------------+-------------------------------------------------
 Using the following code

 {{{
 def simple_app(environ, start_response):
     """Simplest possible application object"""
     status = '401'
     response_headers = [('Content-type','text/plain')]
     start_response(status, response_headers)
     return ['Hello world!\n']

 class RootController(BaseController):
     error = ErrorController()
     hg = WSGIAppController(simple_app)
 }}}

 The error is being handled by TG's ErrorController, if I delete that line
 it's dropping to pylon's error controller.

 Therefore I believe somewhere in the TG stack this is not being delegated
 to repoze.who, which it should.

-- 
Ticket URL: <http://trac.turbogears.org/ticket/2152>
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to