projects
/
services
/
python-requests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7430a49
)
Attempt a fix for @michaelhelmick
author
Ian Cordasco
<graffatcolmingov@gmail.com>
Mon, 20 May 2013 14:58:03 +0000
(10:58 -0400)
committer
Ian Cordasco
<graffatcolmingov@gmail.com>
Mon, 20 May 2013 14:58:03 +0000
(10:58 -0400)
requests/cookies.py
patch
|
blob
|
history
diff --git
a/requests/cookies.py
b/requests/cookies.py
index 1235711f4414a3a9ba36e57d73d2e38ca184967c..d759d0a977f5f7c5c7d2c5fcb2e51543f868cf02 100644
(file)
--- 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`.