Files
dioxus/packages
John Costa 45442af41d fix(server): don't redirect error responses from #[get] server functions (#5429)
The post-handler redirect logic was unconditionally converting responses
to 302 Found when the request had Accept: text/html and a Referer header.
This overwrote error status codes (4xx, 5xx), making it impossible to
return errors from #[get] endpoints accessed via browser navigation.

Add a response.status().is_success() guard so only successful responses
get the Post/Redirect/Get treatment.

Fixes #5428
2026-03-30 18:46:48 -07:00
..
2025-08-20 10:49:03 -07:00
2026-03-27 13:35:17 -07:00
2026-01-25 13:54:26 -08:00
2025-10-30 21:26:01 -07:00
2025-10-30 21:26:01 -07:00
2025-11-17 08:09:41 -06:00
2026-02-16 08:39:43 -06:00