Move pre_request to a more usable place, followup to #382
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Having the hook called so late makes it impossible to overwrite the HTTP request calling behavior and set self.sent to True in case of possible cache matches for example. This way we can interfere before we waste any CPU time to calculate a request.
authored by Christopher Grebs · committed by Christopher Grebs · parent 3cc6aca · Browse files · 1 file+4 added−4 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
1 file+4 added−4 removed
- other:+4 added−4 removed