summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDavid Lord <davidism@gmail.com>2023-04-11 15:38:26 -0700
committerDavid Lord <davidism@gmail.com>2023-04-11 15:38:26 -0700
commiteb363e4fad9ebc333cb69fc83ae45b3a46fe82ce (patch)
tree3d6081852b96d183c25ed6d93a4b11ed3632f5a7 /src
parent4a871c1f857f033af542d1d5644476f9ebde7879 (diff)
downloadwerkzeug-eb363e4fad9ebc333cb69fc83ae45b3a46fe82ce.tar.gz
no path by default
Diffstat (limited to 'src')
-rw-r--r--src/werkzeug/sansio/response.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/werkzeug/sansio/response.py b/src/werkzeug/sansio/response.py
index 7fb264f6..8c53f41b 100644
--- a/src/werkzeug/sansio/response.py
+++ b/src/werkzeug/sansio/response.py
@@ -228,7 +228,7 @@ class Response:
value: str = "",
max_age: t.Optional[t.Union[timedelta, int]] = None,
expires: t.Optional[t.Union[str, datetime, int, float]] = None,
- path: t.Optional[str] = "/",
+ path: t.Optional[str] = None,
domain: t.Optional[str] = None,
secure: bool = False,
httponly: bool = False,
@@ -279,7 +279,7 @@ class Response:
def delete_cookie(
self,
key: str,
- path: str = "/",
+ path: t.Optional[str] = None,
domain: t.Optional[str] = None,
secure: bool = False,
httponly: bool = False,