Skip to content

Constances

Constants that are used throughout the project.

from aioauth import constances

default_headers = HTTPHeaderDict({'Content-Type': 'application/json', 'Cache-Control': 'no-store', 'Pragma': 'no-cache'}) module-attribute

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.