-
-
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
[BUG] set_sensitive does not seem to work with RequestBuilder #1549
Comments
Thanks for the report, I found the problem, a fix is in #1550. |
seanmonstar
added a commit
that referenced
this issue
May 31, 2022
seanmonstar
added a commit
that referenced
this issue
May 31, 2022
Thanks for getting this fixed so quickly @seanmonstar !! 🙇♀️ |
This was referenced Jul 14, 2024
Nutomic
pushed a commit
to Nutomic/reqwest
that referenced
this issue
Nov 7, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi there!
I'm wanting to set a header value as sensitive, so that when I call
log::debug!
what is printed out is"authorization": Sensitive
.set_sensitive
works perfectly if I set the value directly on theClientBuilder
, but if I set it through theRequestBuilder
the value is not obscured.I have created a couple of examples in the Rust playground to show the difference in output https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=2fdafa47dcef259f0768a2319d553b1f
Any help with this issue would be really appreciated!
The text was updated successfully, but these errors were encountered: