-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add redirect service #1961
add redirect service #1961
Conversation
ec689f5
to
f233ffb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
a4e4bd2
to
e083521
Compare
src/redirect.rs
Outdated
/// By default, the "308 Temporary Redirect" status is used when responding. | ||
/// See [this MDN article](mdn-redirects) on why 308 is preferred over 301. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
308 is the permanent redirect.
Link goes to temporary redirect section, but 308 is listed in the permanent redirect section above it.
A preview of this is in |
fyi similar documentation issue over there too, and the MSDN link doesn't work. 😨 |
e083521
to
99caa84
Compare
f678a73
to
71b6ac6
Compare
6914204
to
2ed65be
Compare
e26872c
to
db97179
Compare
PR Type
Feature
PR Checklist
Overview
Adds a rudimentary redirect HTTP service.