--- a/etwist/request.py Thu Mar 15 17:30:28 2012 +0100
+++ b/etwist/request.py Mon Feb 27 15:24:14 2012 +0100
@@ -31,9 +31,8 @@
class CubicWebTwistedRequestAdapter(CubicWebRequestBase):
- def __init__(self, req, vreg, https, base_url):
+ def __init__(self, req, vreg, https):
self._twreq = req
- self._base_url = base_url
super(CubicWebTwistedRequestAdapter, self).__init__(vreg, https, req.args)
for key, (name, stream) in req.files.iteritems():
if name is None:
@@ -45,10 +44,6 @@
for k, v in req.received_headers.iteritems():
self._headers_in.addRawHeader(k, v)
- def base_url(self):
- """return the root url of the instance"""
- return self._base_url
-
def http_method(self):
"""returns 'POST', 'GET', 'HEAD', etc."""
return self._twreq.method