working commit

This commit is contained in:
2026-02-14 22:09:19 +02:00
parent 3b6be8033e
commit 1e03fa349f
7 changed files with 47 additions and 16 deletions
+2 -1
View File
@@ -20,7 +20,8 @@ import (
func (hand *Handler) GetVersion(rctx *router.Context) {
params := &operator.GetVersionParams{}
hand.DumpHeaders("GetVersion", rctx)
//hand.DumpHeaders("GetVersion", rctx)
authorization := rctx.GetHeader("Authorization")
if authorization == "" {
rctx.SetHeader("WWW-Authenticate", `Basic realm="mstore"`)