Method: flask.sessions.SessionInterface.get_cookie_httponly
Calls: 346, Exceptions: 0, Paths: 1Back
Path 1: 346 calls (1.0)
Flask (342) test_session_dynamic_cookie_name.
True (344) False (2)
1def get_cookie_httponly(self, app: Flask) -> bool:
2 """Returns True if the session cookie should be httponly. This
3 currently just returns the value of the ``SESSION_COOKIE_HTTPONLY``
4 config var.
5 """
6 return app.config["SESSION_COOKIE_HTTPONLY"]