-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
How can I add custom header as in hyper? #134
Comments
You can do the exact same thing. Use This works because |
A more complete example: https://brson.github.io/rust-cookbook/net.html#ex-rest-custom-params |
@little-dude yes, that is how I did that. But, I must say: if |
It's annoying but I don't think it's bad.
Yes and no. Yes it's possible but this works by accident. This is also possible with a feature flag ( |
As long as I must follow |
I am moving my crate to
reqwest
to try it. But I have one problem: inhyper
I could easily create my own header:But I don't know how can I do that with
reqwest
.The text was updated successfully, but these errors were encountered: