8000 Honour timeout and redirect control by remoun · Pull Request #20 · twilio/twilio-python · GitHub
[go: up one dir, main page]

Skip to content

Honour timeout and redirect control #20

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions twilio/rest/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,10 @@ def make_request(method, url,

See the requests documentation for explanation of all these parameters

Currently timeout, allow_redirects, proxies, files, and cookies
are all ignored
Currently proxies, files, and cookies are all ignored
"""
http = httplib2.Http()
http = httplib2.Http(timeout=timeout)
http.follow_redirects = allow_redirects

if auth is not None:
http.add_credentials(auth[0], auth[1])
Expand Down
0