kennethreitz/requests — pull request #1972 by avidas (2014-03-22 20:45:36+00:00)
Title: Add __str__ to case insensitive dict. Logging headers for debugging purp...

...oses is often necessary, and the currently logging the headers would be using __repr__ which would log the implementation detail of headers, caseinsensitivedict. Adding str to case insensitive dict lends a more printing and log friendly implementation for headers the response object.