kennethreitz/requests — pull request #1851 by eklitzke (2014-01-08 04:33:20+00:00)
Title: implement "send" hook for right before sending a Request

This implements a `send` hook, which is called right before a `Request` object is sent.

My motivation here is for a profiler I've written that automatically records request timing information (by recording a timestamp before a request is sent, and after), but I think there are probably a lot of other use cases, such as automagically munging request headers or whatnot.