libeufin

Integration and sandbox testing for FinTech APIs and data formats
Log | Files | Refs | Submodules | README | LICENSE

commit 989111c2c13bed174ba1fb9a01fa62ef56348002
parent de9a4f848c88d719baabac6df366fee8e5551e1c
Author: ms <ms@taler.net>
Date:   Wed, 20 Oct 2021 22:22:58 +0200

comment

Diffstat:
Mutil/src/main/kotlin/HTTP.kt | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/util/src/main/kotlin/HTTP.kt b/util/src/main/kotlin/HTTP.kt @@ -111,7 +111,9 @@ fun ApplicationCall.getUriComponent(name: String): String { } /** * Return: - * - null if the authentication is disabled (during tests, for example) + * - null if the authentication is disabled (during tests, for example). + * This facilitates tests because allows requests to lack entirely a + * Authorization header. * - the name of the authenticated user * - throw exception when the authentication fails *