code: def setup_requests_logging(level):
  	
  	requests_log = logging.getLogger("requests.packages.urllib3")
  	requests_log.setLevel(level)
  	requests_log.propagate = True
  
  	# enable debugging at httplib level
  	http_client.HTTPConnection.debuglevel = level <= logging.DEBUG
docs: Setup logging for 'requests' such that it logs details about the
  	connection, headers, etc.