DioxusLabs / DioxusLabs/dioxus
Support for 201 created + location header
Open
enhancement
- Dominant language
- Rust
- Stars
- 39.1k
- Forks
- 1.9k
- Avg merge
- 4d 10h
- Merged PRs (30d)
- 4
Description
## Feature Request
We are trying to follow REST standards implementing dioxus with full stack.
One of our scenarios is like this:
- client request POST /catalogs
- server responds with 201 created and header LOCATION: /catalogs/123
- client redirect to /catalogs/123 showing the created catalog
Is there any kind of support in your framework for this scenario?
## Implement Suggestion
Idea would be similar to responding with a redirect header, so when the router detects a 201 status with empty body + location header it will simply redirect to that page.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.