Merge branch 'master' into urllibfix

This commit is contained in:
lmvlmv
2019-07-25 10:49:24 +01:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -549,7 +549,7 @@ Or, even better:
**Bugfixes**
- For file-like objects that are not seeked to the very beginning, we
- For file-like objects that are not sought to the very beginning, we
now send the content length for the number of bytes we will actually
read, rather than the total size of the file, allowing partial file
uploads.
+1 -1
View File
@@ -193,7 +193,7 @@ When you are using the prepared request flow, keep in mind that it does not take
This can cause problems if you are using environment variables to change the behaviour of requests.
For example: Self-signed SSL certificates specified in ``REQUESTS_CA_BUNDLE`` will not be taken into account.
As a result an ``SSL: CERTIFICATE_VERIFY_FAILED`` is thrown.
You can get around this behaviour by explicity merging the environment settings into your session::
You can get around this behaviour by explicitly merging the environment settings into your session::
from requests import Request, Session