dasevilla/requests — comment on commit 2d8440ea98301131edd537c4f2010b749f005e3b
File:  line 0
By joequery:

You're right, it doesn't work. Thanks for pointing this out. Looking through the code, the settings attribute actually doesn't exist anywhere. You can access the defaults dictionary, though.

```python
>>> import requests
>>> import sys
>>> requests.get("http://httpbin.org/get")

>>> requests.defaults.defaults
{'decode_unicode': True, 'pool_connections': 10, 'verbose': None, 'keep_alive': True, 'max_retries': 0, 'base_headers': {'Accept-Encoding': 'identity, deflate, compress, gzip', 'Accept': '*/*', 'User-Agent': 'python-requests/0.8.0'}, 'pool_maxsize': 1, 'timeout': None, 'safe_mode': False, 'max_redirects': 30}
>>> requests.defaults.defaults["verbose"] = sys.stderr
>>> requests.get("http://httpbin.org/get")
2011-11-11T16:10:53.212305 GET http://httpbin.org/get

```

Your change solves the problem on a per-request basis and is a good example of using the config argument, but won't enable verbose logging for all requests.