diff --git a/webtest/utils.py b/webtest/utils.py index 9ae1377..d138573 100644 --- a/webtest/utils.py +++ b/webtest/utils.py @@ -115,6 +115,10 @@ def unverifiable(self): # NOQA def get_full_url(self): return self._request.url + @property + def host(self): + return self.origin_req_host + def get_host(self): return self.origin_req_host get_origin_req_host = get_host