class documentation
class _EnsureCsrfCookie(CsrfViewMiddleware): (source)
Undocumented
Method | process |
Undocumented |
Method | _reject |
Undocumented |
Inherited from CsrfViewMiddleware
:
Method | process |
Undocumented |
Method | process |
Undocumented |
Property | allowed |
A mapping of allowed schemes to list of allowed netlocs, where all subdomains of the netloc are allowed. |
Property | allowed |
Undocumented |
Property | csrf |
Undocumented |
Method | _accept |
Undocumented |
Method | _bad |
Undocumented |
Method | _check |
Undocumented |
Method | _check |
Undocumented |
Method | _get |
Return the CSRF secret originally associated with the request, or None if it didn't have one. |
Method | _origin |
Undocumented |
Method | _set |
Undocumented |
Inherited from MiddlewareMixin
(via CsrfViewMiddleware
):
Async Method | __acall__ |
Async version of __call__ that is swapped in when an async request is running. |
Method | __call__ |
Undocumented |
Method | __init__ |
Undocumented |
Method | __repr__ |
Undocumented |
Class Variable | async |
Undocumented |
Class Variable | sync |
Undocumented |
Instance Variable | get |
Undocumented |
Method | _async |
If get_response is a coroutine function, turns us into async mode so a thread is not consumed during a whole request. |
Instance Variable | _is |
Undocumented |