def _request_defaults(kwargs):
 request_defaults = {'timeout': 5.0, 'headers': {'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Accept-Encoding': 'gzip, deflate', 'Accept-Language': 'en-us,en;q=0.5', 'Connection': 'keep-alive'}, 'user_agent': USER_AGENT, 'follow_robots': False}
 request_defaults.update(kwargs)
 return request_defaults

def _request_defaults ( kwargs ) : request_defaults = { 'timeout' : 5.0 , 'headers' : { 'Accept' : 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' , 'Accept-Encoding' : 'gzip, deflate' , 'Accept-Language' : 'en-us,en;q=0.5' , 'Connection' : 'keep-alive' } , 'user_agent' : USER_AGENT , 'follow_robots' : False } request_defaults . update ( kwargs ) return request_defaults
return defaults for a requests session .