MCPcopy Create free account
hub / github.com/pallets/quart / get_cookie_path

Method get_cookie_path

src/quart/sessions.py:58–60  ·  view source on GitHub ↗

Helper method to return the Cookie path for the App.

(self, app: Quart)

Source from the content-addressed store, hash-verified

56 return rv if rv else None
57
58 def get_cookie_path(self, app: Quart) -> str:
59 """Helper method to return the Cookie path for the App."""
60 return app.config["SESSION_COOKIE_PATH"] or app.config["APPLICATION_ROOT"]
61
62 def get_cookie_httponly(self, app: Quart) -> bool:
63 """Helper method to return if the Cookie should be HTTPOnly for the App."""

Calls

no outgoing calls