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 of no-store in any response containing tokens, credentials, or other sensitive information, as well as the Pragma response header field, as per RFC2616, with a value of no-cache.