http-rs / http-rs/tide

Internal redirects

Open
#82 3 comments 2 reactions 0 assignees View on GitHub
design feature
Dominant language
Rust
Stars
5.1k
Forks
329
PR merge metrics
No merged PRs in 30d

Description

Since middleware and endpoints run strictly after routing (by design), we may want to provide an ergonomic way of *internally* redirecting to other routes.

Some considerations:

- How best to express this? E.g. explicitly re-enter the router? Return a revised *request*? Something else?

- How should middleware be applied when handling the redirected request?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.