diff -r 823cf14bcc37 -r 9bb7b5dc4214 wsgi/handler.py --- a/wsgi/handler.py Fri Oct 11 18:00:34 2013 +0200 +++ b/wsgi/handler.py Fri Oct 11 18:02:48 2013 +0200 @@ -17,8 +17,6 @@ # with CubicWeb. If not, see . """WSGI request handler for cubicweb""" - - __docformat__ = "restructuredtext en" from itertools import chain, repeat, izip @@ -92,7 +90,6 @@ return iter(self.body) - class CubicWebWSGIApplication(object): """This is the wsgi application which will be called by the wsgi server with the WSGI ``environ`` and ``start_response`` @@ -108,8 +105,6 @@ def _render(self, req): """this function performs the actual rendering """ - if self.base_url is None: - self.base_url = self.config._base_url = req.base_url() try: path = req.path result = self.appli.handle_request(req, path)