mirror of
https://github.com/kennethreitz/requests.git
synced 2026-06-05 22:50:18 +00:00
Include the system name and version in the default user agent
This commit is contained in:
@@ -60,6 +60,7 @@ defaults['base_headers'] = {
|
||||
'User-Agent': " ".join([
|
||||
'python-requests/%s' % __version__,
|
||||
'%s/%s' % (_implementation, _implementation_version),
|
||||
'%s/%s' % (platform.system(), platform.release()),
|
||||
]),
|
||||
'Accept': '*/*'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user