class documentation

class SecurityMiddleware(MiddlewareMixin):

View In Hierarchy

Undocumented

Method __init__ Undocumented
Method process​_request Undocumented
Method process​_response Undocumented
Instance Variable content​_type​_nosniff Undocumented
Instance Variable cross​_origin​_opener​_policy Undocumented
Instance Variable redirect Undocumented
Instance Variable redirect​_exempt Undocumented
Instance Variable redirect​_host Undocumented
Instance Variable referrer​_policy Undocumented
Instance Variable sts​_include​_subdomains Undocumented
Instance Variable sts​_preload Undocumented
Instance Variable sts​_seconds Undocumented

Inherited from MiddlewareMixin:

Async Method __acall__ Async version of __call__ that is swapped in when an async request is running.
Method __call__ Undocumented
Method __repr__ Undocumented
Method ​_async​_check If get_response is a coroutine function, turns us into async mode so a thread is not consumed during a whole request.
Class Variable async​_capable Undocumented
Class Variable sync​_capable Undocumented
Instance Variable ​_is​_coroutine Undocumented
Instance Variable get​_response Undocumented
def __init__(self, get_response):
def process_request(self, request):

Undocumented

def process_response(self, request, response):

Undocumented

content_type_nosniff =

Undocumented

cross_origin_opener_policy =

Undocumented

redirect =

Undocumented

redirect_exempt =

Undocumented

redirect_host =

Undocumented

referrer_policy =

Undocumented

sts_include_subdomains =

Undocumented

sts_preload =

Undocumented

sts_seconds =

Undocumented