compensate for lack of taste
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 · parent 7d0a94d · Browse files · 1 file·+4 added−4 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−4 removed
- other:+4 added−4 removed
Provenance
- Commit
6c9a0ef- Tree
eddae9b- Author
Kenneth Reitz <me@kennethreitz.org>- Committer
Kenneth Reitz <me@kennethreitz.org>- Parent
7d0a94d
1 file changed+4 added−4 removed
modified:docs/user/advanced.rst+4 added-4 removed
191 unmodified lines192 SSL Cert Verification193 ---------------------194 195 Requests verifies SSL certificates for HTTPS requests, just like a web browser.196-By default, SSL verification is enabled, and requests will throw a SSLError if196+By default, SSL verification is enabled, and Requests will throw a SSLError if197 it's unable to verify the certificate::198 199 >>> requests.get('https://requestb.in')200 requests.exceptions.SSLError: hostname 'requestb.in' doesn't match either of '*.herokuapp.com', 'herokuapp.com'33 unmodified lines234 >>> requests.get('https://kennethreitz.com', cert='/wrong_path/client.pem')235 SSLError: [Errno 336265225] _ssl.c:347: error:140B0009:SSL routines:SSL_CTX_use_PrivateKey_file:PEM lib236 237 .. warning:: The private key to your local certificate *must* be unencrypted.238- Currently, requests does not support using encrypted keys.238+ Currently, Requests does not support using encrypted keys.239 240 .. _ca-certificates:241 242 CA Certificates308 unmodified lines551 ^^^^^552 553 .. versionadded:: 2.10.0554 555-In addition to basic HTTP proxies, requests also supports proxies using the555+In addition to basic HTTP proxies, Requests also supports proxies using the556 SOCKS protocol. This is an optional feature that requires that additional557 third-party libraries be installed before use.558 559 You can get the dependencies for this feature from ``pip``:341 unmodified lines901 902 Header Ordering903 ---------------904 905-In unusual circumstances you may want to provide headers in an ordered manner. If you pass an ``OrderedDict`` to the ``headers`` keyword argument, that will provide the headers with an ordering. *However*, the ordering of the default headers used by requests will be preferred, which means that if you override default headers in the ``headers`` keyword argument, they may appear out of order compared to other headers in that keyword argument.905+In unusual circumstances you may want to provide headers in an ordered manner. If you pass an ``OrderedDict`` to the ``headers`` keyword argument, that will provide the headers with an ordering. *However*, the ordering of the default headers used by Requests will be preferred, which means that if you override default headers in the ``headers`` keyword argument, they may appear out of order compared to other headers in that keyword argument.906 907 If this is problematic, users should consider setting the default headers on a :class:`Session <requests.Session>` object, by setting :data:`Session <requests.Session.headers>` to a custom ``OrderedDict``. That ordering will always be preferred.908 909 .. _timeouts:38 unmodified lines