kennethreitz/requests — pull request #709 by dstufft (2012-07-07 20:18:40+00:00)
Title: Have User Agent include more details

With this change the default user agent will include more details by default.

Python:

python -c "import requests; print requests.get('http://httpbin.org/user-agent').json"
{u'user-agent': u'python-requests/0.13.2 CPython/2.7.3 Darwin/11.4.0'}

PyPy:

pypy -c "import requests; print requests.get('http://httpbin.org/user-agent').json"
{u'user-agent': u'python-requests/0.13.2 PyPy/1.9.0 Darwin/11.4.0'}