We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Redirecting using location like this:
res.headers_mut().set(hyper::header::common::location::Location("/newlocation".to_string()));
ends up going to the url http://127.0.0.1:1337/"newlocation" instead of http://127.0.0.1:1337/newlocation. Using set_raw works fine:
res.headers_mut().set_raw("Location", vec![b"/newlocation".to_vec()]);
The text was updated successfully, but these errors were encountered:
fix(header): fix fmt_header outputs of several headers
aa26665
Closes #246
b7a89ba
Closes hyperium#246
Successfully merging a pull request may close this issue.
Redirecting using location like this:
ends up going to the url http://127.0.0.1:1337/"newlocation" instead of http://127.0.0.1:1337/newlocation. Using set_raw works fine:
The text was updated successfully, but these errors were encountered: