kennethreitz/requests — pull request #626 by joshimhoff (2012-05-22 04:39:22+00:00)
Title: Improvements to RequestsCookieJar

- Docstrings for all methods in RequestsCookieJar
- Defined keys(), values(), and items() in order to let user convert RequestsCookieJar to a plain Pyton dict
- If there are multiple cookies with the same information, we now throw CookieConflictError
- Defined a couple of small utility functions

Discussion here: #578
I decided to only throw CookieConflictError if there are actually are conflicting cookies (it is fine to have multiple domains in jar), in order to not break any existing client code.