-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Basic auth without both username and password #502
Comments
httpbin now uses Swagger/OpenAPI for endpoints, and path-positional args are mandatory. It would be possible to allow a test for So one option is to create a second endpoint which tasks only Otherwise I think url-query-string parameters will be required. |
@javabrett Wow, thanks for the quick fix. How often is httpbin.org updated? https://httpbin.org/basic-auth/foo doesn't currently work for testing with username and no password.
My use case is that I develop a web browser (NetSurf), and have just been reworking the handling of basic-auth. So I wanted, for testing purposes, some server that I could control the required access credentials for. I particularly want to test the edge cases, and check that NetSurf behaves the same as mainstream browsers. https://tools.ietf.org/html/rfc7617#section-2 just says that the I've also asked on our mailing list for users to test, and mentioned httpbin: https://www.mail-archive.com/[email protected]/msg07539.html |
https://httpbin.org/basic-auth/foo/bar works for testing basic auth with a username and a password.
However, all of the following give 404 not found errors:
Is there a way to test these features of basic auth with httpbin?
The text was updated successfully, but these errors were encountered: