mirror of
https://github.com/kennethreitz/requests.git
synced 2026-06-05 22:50:18 +00:00
Merge branch 'master' into urllibfix
This commit is contained in:
+1
-1
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user