kennethreitz/requests — pull request #333 by bryanhelmig (2012-01-05 04:10:35+00:00)
Title: Add eager mode for raising errors immediately.

I'm not 100% on:

1. The name of the setting. Settled on `eager_mode`.
2. The placing of the `raise_for_status()` method call. Settled on the very end of `Request.send()`.

Let me know if this is something you guys are interested in adding or not. It's pretty lightweight and I've included a test case.