From: Daniel Erenrich Date: Wed, 17 Apr 2024 17:55:46 +0000 (-0700) Subject: Fix typo in `SessionMiddleware` docs (#2559) X-Git-Tag: 0.38.0~17 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9bd1b817d49c02f10561e1f6028e83f2c8190850;p=thirdparty%2Fstarlette.git Fix typo in `SessionMiddleware` docs (#2559) --- diff --git a/docs/middleware.md b/docs/middleware.md index ea6a2b9c..9e560181 100644 --- a/docs/middleware.md +++ b/docs/middleware.md @@ -106,7 +106,7 @@ The following arguments are supported: * `same_site` - SameSite flag prevents the browser from sending session cookie along with cross-site requests. Defaults to `'lax'`. * `path` - The path set for the session cookie. Defaults to `'/'`. * `https_only` - Indicate that Secure flag should be set (can be used with HTTPS only). Defaults to `False`. -* `domain` - Domain of the cookie used to share cookie between subdomains or cross-domains. The browser defaults the domain to the same host that set the cookie, excluding subdomains [refrence](https://developer.mozilla.org/en-US/docs/Web/HTTP/Cookies#domain_attribute). +* `domain` - Domain of the cookie used to share cookie between subdomains or cross-domains. The browser defaults the domain to the same host that set the cookie, excluding subdomains ([reference](https://developer.mozilla.org/en-US/docs/Web/HTTP/Cookies#domain_attribute)). ```python