get_cookie_httponly() — flask Function Reference
Architecture documentation for the get_cookie_httponly() function in sessions.py from the flask codebase.
Entity Profile
Dependency Diagram
graph TD e21674ac_874b_e0a2_10a3_9f42073cd29e["get_cookie_httponly()"] bbf56873_bd71_6e70_f44c_ca8a85b0a007["SessionInterface"] e21674ac_874b_e0a2_10a3_9f42073cd29e -->|defined in| bbf56873_bd71_6e70_f44c_ca8a85b0a007 58643c3f_4184_c18b_8361_a7d628d93359["save_session()"] 58643c3f_4184_c18b_8361_a7d628d93359 -->|calls| e21674ac_874b_e0a2_10a3_9f42073cd29e style e21674ac_874b_e0a2_10a3_9f42073cd29e fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/flask/sessions.py lines 209–214
def get_cookie_httponly(self, app: Flask) -> bool:
"""Returns True if the session cookie should be httponly. This
currently just returns the value of the ``SESSION_COOKIE_HTTPONLY``
config var.
"""
return app.config["SESSION_COOKIE_HTTPONLY"] # type: ignore[no-any-return]
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does get_cookie_httponly() do?
get_cookie_httponly() is a function in the flask codebase, defined in src/flask/sessions.py.
Where is get_cookie_httponly() defined?
get_cookie_httponly() is defined in src/flask/sessions.py at line 209.
What calls get_cookie_httponly()?
get_cookie_httponly() is called by 1 function(s): save_session.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free