Use request context instead of application context
Use request context instead of application context

Use request context to stash inflight state instead of application
context as that does not get reset consistently. Using the request
context in fact actually makes a lot more sense since we only need
to cache state at most upto after_request when the headers are
populated.

alisaifee/flask-limiter,alisaifee/flask-limiter