Skip to content
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

Is there any way to make a 401 count as a successful check? #173

Open
sardaukar opened this issue Mar 17, 2025 · 3 comments
Open

Is there any way to make a 401 count as a successful check? #173

sardaukar opened this issue Mar 17, 2025 · 3 comments
Labels
enhancement New feature or request

Comments

@sardaukar
Copy link

I have some HTTP services that require Basic Auth, so without it the result is a 401 - which I want to count as a success. Is there a way of doing this with a custom script?

@moonrailgun
Copy link
Contributor

you can use header, i think its will be cool
Reference: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Authorization

@sardaukar
Copy link
Author

I'd rather not have to duplicate info about my passwords anywhere else. The 401 should be a success, because it's what signals that my app is working properly.

@moonrailgun moonrailgun added the enhancement New feature or request label Mar 24, 2025
@moonrailgun
Copy link
Contributor

ok i get your point, let me support it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants