changeset 8595 | 01e1e44f1eb3 |
parent 8579 | c4673bc11053 |
child 8596 | bd4f5052a532 |
--- a/req.py Fri Nov 16 11:41:38 2012 +0100 +++ b/req.py Fri Nov 16 11:52:06 2012 +0100 @@ -427,7 +427,7 @@ """return the root url of the instance """ if secure: - raise NotImplementedError() + return self.vreg.config.get('https-url', self.vreg.config['base-url']) return self.vreg.config['base-url'] # abstract methods to override according to the web front-end #############