Constances¶
from aioauth import constances
Constants that are used throughout the project.
-
default_headers
= {'content-type': 'application/json', 'cache-control': 'no-store', 'pragma': 'no-cache'}¶ The authorization server must include the HTTP
Cache-Control
response header field, as per RFC2616, with a value ofno-store
in any response containing tokens, credentials, or other sensitive information, as well as thePragma
response header field, as per RFC2616, with a value ofno-cache
.