Skip to content
Myr

Merge remote-tracking branch 'origin/develop' into develop

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

authored by Kenneth Reitz · committed by Kenneth Reitz · parents 35f6671, 8309ac7 · Browse files · 2 files+2 added−2 removed
This commit

State

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

Diff stats

2 files+2 added−2 removed

  • other:+2 added−2 removed

2 files+2 added−2 removed

modified:docs/user/quickstart.rst+1 added-1 removed
235 unmodified lines
236---------------------237238We can check the response status code::239240 >>> r = requests.get("http://httpbin.org/get')240 >>> r = requests.get('http://httpbin.org/get')241 >>> r.status_code242 200243244Requests also comes with a built-in status code lookup object for easy
208 unmodified lines
modified:requests/models.py+1 added-1 removed
559 unmodified lines
560 else:561 conn.cert_reqs = 'CERT_NONE'562 conn.ca_certs = None563564 if self.cert and self.verify:564 if self.cert:565 if len(self.cert) == 2:566 conn.cert_file = self.cert[0]567 conn.key_file = self.cert[1]568 else:
266 unmodified lines