Add before_request to check header

This commit is contained in:
Athanasios Voutsadakis
2017-11-14 14:40:32 +00:00
parent a7dbde39e9
commit 5f0e6beb79

View File

@@ -186,6 +186,8 @@ def init_csrf(application):
def init_app(application):
application.before_request(request_helper.check_proxy_header_before_request)
@application.before_request
def record_start_time():
g.start = monotonic()