Skip to content

Commit

Permalink
Merge pull request #1 from rudaporto/master
Browse files Browse the repository at this point in the history
Added new host property to _RequestCookieAdapter
  • Loading branch information
rudaporto authored Jan 13, 2020
2 parents f01ed4b + 20d0722 commit a2bbdcb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions webtest/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a2bbdcb

Please # to comment.