GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
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
Separates the authorization test from authorization enforcement.
Add checkBasicAuth function. Fixes #1449.
Separates the authorization test from auhtorization enforcement.
@denizzzka: Is checkBasicAuth sufficient for your use case, or is more control necessary?
@s-ludwig checkBasicAuth exactly what is needed. Thanks!
(I am changed my code with checkBasicAuth, but can't run my integration tests because something changed in vibe.d: #1688.)
Okay, I think it should be safe to still merge this into 0.8.0.
Regarding const/in, I don't want to shut the door for more lazy evaluation and reference counting, which is why the HTTPServerRe* values are always passed in plain form.