Files
requests3/requests
Michael Komitee 662c3edacc Allowing hooks to return responses that indicate errors
Since response objects for failures (4xx/5xx responses) evaluate to False
in a boolean context, any hook which returns such a failure response will
evaluate to False.

The way hooks were setup, any failure response resulting from a hook would
be ignored, and the initial response before it got processed by the hook
would be substituted in its place. This commit changes that logic to test
for None so that hooks that return failures can do so.
2012-06-01 16:05:22 -04:00
..
2012-05-10 17:10:47 -05:00
2012-05-29 20:53:51 -04:00
2012-05-10 17:01:09 -05:00
2012-05-13 11:59:31 +02:00
2012-01-23 00:15:25 -05:00
2012-05-29 19:54:40 -04:00