]> git.ipfire.org Git - thirdparty/starlette.git/commitdiff
Fix typo in `SessionMiddleware` docs (#2559)
authorDaniel Erenrich <daniel@erenrich.net>
Wed, 17 Apr 2024 17:55:46 +0000 (10:55 -0700)
committerGitHub <noreply@github.com>
Wed, 17 Apr 2024 17:55:46 +0000 (17:55 +0000)
docs/middleware.md

index ea6a2b9c211a5861aa89fd5ffe21f71b8da94fb9..9e5601819f88650ce7586de7905281ece19d672d 100644 (file)
@@ -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