diff options
author | 2024-01-30 18:15:26 +0100 | |
---|---|---|
committer | 2024-01-30 22:45:26 +0530 | |
commit | e9027f194b939ac5a4d795ee1a2c24e4a6fbefc0 (patch) | |
tree | 262e903114aa0b66a9be76e71c4df2268bd701a4 /packages/integrations/react/test/react-component.test.js | |
parent | 3a50cbf6ed229869f67e1246fb76bbe91b0f81cd (diff) | |
download | astro-e9027f194b939ac5a4d795ee1a2c24e4a6fbefc0.tar.gz astro-e9027f194b939ac5a4d795ee1a2c24e4a6fbefc0.tar.zst astro-e9027f194b939ac5a4d795ee1a2c24e4a6fbefc0.zip |
Fix endpoint response with immutable header (#9876)
* add test
* added runtime endpoint test for `new Response`
* added `try..catch` for reroute directive handling
Fixes #9871
* added changeset
* replaced `try..catch` with HTTP status code check
based on the suggestion of @lilnasy
* updated changeset description
* added more tests for the endpoint reroute header
* fixed grammar in `renderEndpoint` comment
* updated endpoint tests to check for the reroute directive header in lower-case
* updated changeset description
Diffstat (limited to 'packages/integrations/react/test/react-component.test.js')
0 files changed, 0 insertions, 0 deletions