diff options
author | SVN-Git Migration <python-modules-team@lists.alioth.debian.org> | 2015-10-08 13:41:28 -0700 |
---|---|---|
committer | SVN-Git Migration <python-modules-team@lists.alioth.debian.org> | 2015-10-08 13:41:28 -0700 |
commit | 653256249d44c67a0852d57a166948a9dc712ef4 (patch) | |
tree | 91efed3ad3640d3949be638ad4c4e45a63fd3864 /requests/cookies.py | |
parent | c6ee35e00c5709435b3a6b664c44fceb70a918c6 (diff) | |
download | python-requests-653256249d44c67a0852d57a166948a9dc712ef4.tar python-requests-653256249d44c67a0852d57a166948a9dc712ef4.tar.gz |
Imported Upstream version 1.2.3
Diffstat (limited to 'requests/cookies.py')
-rw-r--r-- | requests/cookies.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/requests/cookies.py b/requests/cookies.py index 1235711..d759d0a 100644 --- a/requests/cookies.py +++ b/requests/cookies.py @@ -69,6 +69,10 @@ class MockRequest(object): def unverifiable(self): return self.is_unverifiable() + @property + def origin_req_host(self): + return self.get_origin_req_host() + class MockResponse(object): """Wraps a `httplib.HTTPMessage` to mimic a `urllib.addinfourl`. |