Open ghost opened 9 years ago
When the request headers are being echoed back, I'd like the default behavior to be to **\ out the credentials.
Instead of this being displayed: Authorization: Basic aHR0cGllOmlzQXdlc29tZQ== I'd like to see: Authorization: Basic ************************
Authorization: Basic aHR0cGllOmlzQXdlc29tZQ==
Authorization: Basic ************************
Similarly: Authorization: Bearer *******************************
Authorization: Bearer *******************************
Maybe a new option (like --show-creds) could be used to show the credentials.
Good idea. People accidentally share sensitive data like this all the time. Thinking out loud:
Authorization
Token
X-API-Token
Hello,
Any update regarding this issue ?
Is it possible to implement something similar to what is done on httpx and also allow the user to add some custom headers
Thx
When the request headers are being echoed back, I'd like the default behavior to be to **\ out the credentials.
Instead of this being displayed:
Authorization: Basic aHR0cGllOmlzQXdlc29tZQ==
I'd like to see:Authorization: Basic ************************
Similarly:
Authorization: Bearer *******************************
Maybe a new option (like --show-creds) could be used to show the credentials.