mirror of
https://github.com/kennethreitz/requests.git
synced 2026-06-05 22:50:18 +00:00
docs: correct error in 'merge_environment_settings' usage
Resolves #4959
This commit is contained in:
committed by
Andrew Bonney
parent
64bde6582d
commit
827bbe2a7e
@@ -203,7 +203,7 @@ You can get around this behaviour by explicity merging the environment settings
|
||||
prepped = s.prepare_request(req)
|
||||
|
||||
# Merge environment settings into session
|
||||
settings = s.merge_environment_settings(prepped.url, None, None, None, None)
|
||||
settings = s.merge_environment_settings(prepped.url, {}, None, None, None)
|
||||
resp = s.send(prepped, **settings)
|
||||
|
||||
print(resp.status_code)
|
||||
|
||||
Reference in New Issue
Block a user