Skip to content

Commit

Permalink
Update headers.md to clarify that Set-Cookie is automatically prese…
Browse files Browse the repository at this point in the history
…rved (#12701)
  • Loading branch information
alexanderson1993 authored Jan 7, 2025
1 parent 3d40930 commit 7b04181
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/how-to/headers.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ export function headers({
}
```

One notable exception is `Set-Cookie` headers, which are automatically preserved from `headers`, `loader`, and `action` in parent routes, even without exporting `headers` from the child route.

## Merging with parent headers

Consider these nested routes
Expand Down

0 comments on commit 7b04181

Please sign in to comment.