kennethreitz/requests — pull request #1355 by sigmavirus24 (2013-05-09 03:31:01+00:00)
Title: Prevent a KeyError when there's no link headers

This nipped me in the bud with github3.py+github-cli. Previously, the `CaseInsensitiveDict` behaved like a `defaultdict` that returned None when the key wasn't there. Now the CID behaves like a regular dict and raises a `KeyError`. To dodge this on our attribute, we should use `.get` to avoid a `KeyError`.