rsnext/test/e2e/app-dir/actions
Zack Tanner 87e45521d2
reject actions with invalid RSC responses (#67059)
When a server action responds with something other than an RSC response,
we currently silently ignore the error and it doesn't get propagated to
any rejection handlers.

This adjusts the handling so that if the server action response is a
non-successful status code, we reject the server action promise. If the
error is `text/plain`, we'll automatically propagate the text content as
the error text. Otherwise, the promise is rejected with a fallback
message.
2024-06-28 11:18:52 +02:00
..
app reject actions with invalid RSC responses (#67059) 2024-06-28 11:18:52 +02:00
components fix: server actions initiated from static pages (#51534) 2023-09-14 21:22:19 +00:00
pages skip HEAD request in server action redirect (#63819) 2024-03-28 12:54:29 -07:00
account-for-overhead.js [actions] Enforce body limit using Transform stream (#64694) 2024-04-18 16:04:20 -06:00
app-action-export.test.ts Remove redundant React dependency declarations in test (#66530) 2024-06-05 18:10:24 +02:00
app-action-form-state.test.ts Remove redundant React dependency declarations in test (#66530) 2024-06-05 18:10:24 +02:00
app-action-progressive-enhancement.test.ts Remove redundant React dependency declarations in test (#66530) 2024-06-05 18:10:24 +02:00
app-action-size-limit-invalid.test.ts Remove redundant React dependency declarations in test (#66530) 2024-06-05 18:10:24 +02:00
app-action.test.ts reject actions with invalid RSC responses (#67059) 2024-06-28 11:18:52 +02:00
middleware.js Handle action middleware rewrite case (#66852) 2024-06-14 14:57:47 -07:00
next.config.js Change allowed forwarded hosts to be allowed origins for Server Actions (#58023) 2023-11-08 11:20:32 +01:00