Ticket #1518 (new enhancement)

Opened 9 years ago

WSGIApp.set_publisher should be responsible for the app registration into the publisher

Reported by: sprat Owned by: apoirier
Priority: major Component: uncategorized
Version: Keywords:


The WSGIApp.set_publisher method should be responsible of the application registration into the publisher so that we can control the registration process.

Today, if we want to register the application to the root url (/) :

  1. we lose the wsgi_pipe facility (no easy way to get it)
  2. it's impossible to cancel the registration of the app to the /app_name url since the registration is done *after* the set_publisher call

This enhancement would solve this problem. Maybe the wsgi_pipe facility should also be handled in the WSGIApp base class too.

Note: See TracTickets for help on using tickets.