func (b *basicAuthMiddleware) askForCredentials(ctx *iris.Context) { ctx.SetHeader("WWW-Authenticate", b.realmHeaderValue) ctx.SetStatusCode(iris.StatusUnauthorized) }