kennethreitz/requests — pull request #1174 by nikolay (2013-02-08 18:36:22+00:00)
Title: Added the ability to track the referer between requests and cleaned up some docstrings

Added "track_referer" attribute and "last_page" to Session so that the last response's URL can be used as the referer on the next request. The header can still be overwritten globally via Session.headers or on per-request basis.