4929332c32
* Utilizes the new standard WebAPI Fetch Headers.getSetCookie() function to safely handle multiple set-cookie headers when converting from a WebAPI Response to a NodeJS ServerResponse Modifies the existing nodeMiddleware logic which first set AstroCookies on ServerResponse.setHeader(...) and then called ServerResponse.writeHead(status, Response.headers) which means any that if the WebAPI Response had any set-cookie headers on it, they would replace anything from AstroCookies. The new logic delegates appending AstroCookie values onto the WebAPI Response Headers object, so that a single unified function safely converts the WebAPI Response Headers into a NodeJS compatible OutgoingHttpHeaders object utilizing the new standard Headers.getSetCookie() function provided by the undici WebAPI polyfills. Plus extensive test coverage. * #7226 - changeset for NodeJS adapter set-cookie fix * fixing all double quotes to single quotes --------- Co-authored-by: Alex Sherwin <alex.sherwin@acadia.inc> Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com> |
||
---|---|---|
.. | ||
chatty-actors-stare.md | ||
chatty-rats-whisper.md | ||
chilled-rockets-flash.md | ||
config.json | ||
fuzzy-ladybugs-jump.md | ||
fuzzy-tables-build.md | ||
hip-news-clean.md | ||
khaki-onions-relax.md | ||
lazy-falcons-divide.md | ||
light-sheep-hunt.md | ||
orange-dryers-shop.md | ||
README.md | ||
slimy-hotels-agree.md | ||
stupid-pumpkins-perform.md | ||
tasty-stingrays-smile.md | ||
twenty-suns-vanish.md | ||
weak-wombats-swim.md | ||
young-flies-allow.md |
Changesets
Hello and welcome! This folder has been automatically generated by @changesets/cli
, a build tool that works
with multi-package repos, or single-package repos to help you version and publish your code. You can
find the full documentation for it in our repository
We have a quick list of common questions to get you started engaging with this project in our documentation