Skip to content
Myr

Updated documentation indicating that logging is done via requests.packages.urllib3 instead of requests.

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

modified: docs/api.rst

authored by Sorin Sbarnea · committed by Sorin Sbarnea · parent 17ecb68 · 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/api.rst+1 added-1 removed
174 unmodified lines
175 httplib.HTTPConnection.debuglevel = 1176 177 logging.basicConfig() # you need to initialize logging, otherwise you will not see anything from requests178 logging.getLogger().setLevel(logging.DEBUG)179 requests_log = logging.getLogger("requests")179 requests_log = logging.getLogger("requests.packages.urllib3")180 requests_log.setLevel(logging.DEBUG)181 requests_log.propagate = True182 183 requests.get('http://httpbin.org/headers')
14 unmodified lines