diff --git a/src/content/api/4x/api/response/index.mdx b/src/content/api/4x/api/response/index.mdx index 93ed4e68d6..bf08bf2452 100644 --- a/src/content/api/4x/api/response/index.mdx +++ b/src/content/api/4x/api/response/index.mdx @@ -750,7 +750,7 @@ or the referring URL, and the URL specified in the `Location` header; and redire Redirects to the URL derived from the specified `path`, with specified `status`, a positive integer that corresponds to an [HTTP status code](https://www.rfc-editor.org/rfc/rfc9110#name-status-codes) . -If not specified, `status` defaults to "302 "Found". +If not specified, `status` defaults to 302 "Found". ```js res.redirect('/foo/bar'); diff --git a/src/content/api/5x/api/response/index.mdx b/src/content/api/5x/api/response/index.mdx index 1217cf7b34..534a745f62 100644 --- a/src/content/api/5x/api/response/index.mdx +++ b/src/content/api/5x/api/response/index.mdx @@ -242,7 +242,7 @@ Clears the cookie with the specified `name` by sending a `Set-Cookie` header tha This instructs the client that the cookie has expired and is no longer valid. For more information about available `options`, see [res.cookie()](#rescookie). -The `expires` and `max-age` options are being ignored completely. +The `expires` and `maxAge` options are being ignored completely.