-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Middleware: unclear that reading cookies/headers behaviour #8264
Copy link
Copy link
Closed
Labels
good first issueGood for newcomersGood for newcomershelp wantedIssues looking for someone to run with them!Issues looking for someone to run with them!improve or update documentationEnhance / update existing documentation (e.g. add example, improve description, update for changes)Enhance / update existing documentation (e.g. add example, improve description, update for changes)
Description
📚 Subject area/topic
Middleware
📋 Page(s) affected (or suggested, for new content)
https://docs.astro.build/en/guides/middleware/
📋 Description of content that is out-of-date or incorrect
At the moment in my opinion it is not clear that you can not read cookies/headers from the context in middleware when you are request a static page.
I'm not sure where exactly this information could be highlighted, but I couldn't figure this out from the existing docs.
I first created an issue in the astro repo withastro/astro#11023
🖥️ Reproduction in StackBlitz (if reporting incorrect content or code samples)
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomershelp wantedIssues looking for someone to run with them!Issues looking for someone to run with them!improve or update documentationEnhance / update existing documentation (e.g. add example, improve description, update for changes)Enhance / update existing documentation (e.g. add example, improve description, update for changes)