Skip to content
Myr

Merge pull request #1370 from sigmavirus24/origin_req_host

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Add an extra property for Python 3.3

authored by Kenneth Reitz · committed by Kenneth Reitz · parents 7430a49, 9ce7f0b · Browse files · 1 file+4 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+4 added−0 removed

  • other:+4 added−0 removed

1 file+4 added−0 removed

modified:requests/cookies.py+4 added
67 unmodified lines
68 @property69 def unverifiable(self):70 return self.is_unverifiable()7172 @property73 def origin_req_host(self):74 return self.get_origin_req_host()757677class MockResponse(object):78 """Wraps a `httplib.HTTPMessage` to mimic a `urllib.addinfourl`.7980 ...what? Basically, expose the parsed HTTP headers from the server response
309 unmodified lines