Skip to content
Myr

fixed syntax for code block for prepared requests

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

authored by Pascal Van Acker · committed by GitHub · parent 6b21682 · Browse files · 1 file+1 added−1 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+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:docs/user/advanced.rst+1 added-1 removed
189 unmodified lines
190When you are using the prepared request flow, keep in mind that it does not take into account the environment.191This can cause problems if you are using environment variables to change the behaviour of requests.192For example: Self-signed SSL certificates specified in ``REQUESTS_CA_BUNDLE`` will not be taken into account.193As a result an ``SSL: CERTIFICATE_VERIFY_FAILED`` is thrown.194You can get around this behaviour by explicity merging the environment settings into your session:194You can get around this behaviour by explicity merging the environment settings into your session::195196 from requests import Request, Session197 198 s = Session()
811 unmodified lines