Merge pull request #1370 from sigmavirus24/origin_req_host

Add an extra property for Python 3.3
This commit is contained in:
Kenneth Reitz
2013-05-20 12:57:38 -07:00
+4
View File
@@ -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`.