etwist/server.py
changeset 8272 18893bb969d2
parent 8149 3ed48646f354
child 8298 2a4bc6f75e9c
equal deleted inserted replaced
8271:3bd9b317b1d8 8272:18893bb969d2
   350             except Redirect, ex:
   350             except Redirect, ex:
   351                 return self.redirect(req, ex.location)
   351                 return self.redirect(req, ex.location)
   352             request.uri.replace(origpath, path, 1)
   352             request.uri.replace(origpath, path, 1)
   353         else:
   353         else:
   354             path = origpath
   354             path = origpath
   355         if not path or path == "/":
       
   356             path = 'view'
       
   357         try:
   355         try:
   358             result = self.appli.publish(path, req)
   356             result = self.appli.publish(path, req)
   359         except DirectResponse, ex:
   357         except DirectResponse, ex:
   360             return ex.response
   358             return ex.response
   361         except StatusResponse, ex:
   359         except StatusResponse, ex: