max_cookie_size() — flask Function Reference
Architecture documentation for the max_cookie_size() function in wrappers.py from the flask codebase.
Entity Profile
Dependency Diagram
graph TD e0ce7dfa_ee3c_947a_cab4_1aef7ef5d788["max_cookie_size()"] d37e98da_a97c_3126_ebd5_0a54e0ea9b29["Response"] e0ce7dfa_ee3c_947a_cab4_1aef7ef5d788 -->|defined in| d37e98da_a97c_3126_ebd5_0a54e0ea9b29 style e0ce7dfa_ee3c_947a_cab4_1aef7ef5d788 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/flask/wrappers.py lines 247–257
def max_cookie_size(self) -> int: # type: ignore
"""Read-only view of the :data:`MAX_COOKIE_SIZE` config key.
See :attr:`~werkzeug.wrappers.Response.max_cookie_size` in
Werkzeug's docs.
"""
if current_app:
return current_app.config["MAX_COOKIE_SIZE"] # type: ignore[no-any-return]
# return Werkzeug's default when not in an app context
return super().max_cookie_size
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does max_cookie_size() do?
max_cookie_size() is a function in the flask codebase, defined in src/flask/wrappers.py.
Where is max_cookie_size() defined?
max_cookie_size() is defined in src/flask/wrappers.py at line 247.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free