equal
deleted
inserted
replaced
124 req.set_header('WWW-Authenticate', [('Basic', {'realm' : realm })], raw=False) |
124 req.set_header('WWW-Authenticate', [('Basic', {'realm' : realm })], raw=False) |
125 try: |
125 try: |
126 self.appli.connect(req) |
126 self.appli.connect(req) |
127 except Redirect, ex: |
127 except Redirect, ex: |
128 return self.redirect(req, ex.location) |
128 return self.redirect(req, ex.location) |
129 path = req.path |
|
130 if not path or path == "/": |
|
131 path = 'view' |
|
132 try: |
129 try: |
133 result = self.appli.publish(path, req) |
130 result = self.appli.publish(path, req) |
134 except DirectResponse, ex: |
131 except DirectResponse, ex: |
135 return WSGIResponse(200, req, ex.response) |
132 return WSGIResponse(200, req, ex.response) |
136 except StatusResponse, ex: |
133 except StatusResponse, ex: |