Missing http header WWW-Authenticate

Hello

Is it possible to somehow add standard HTTP header WWW-Authenticate to GraphQL response?
Is it possible to somehow modify response when 401 Unauthorized occurs? I am using anonymous authorization.

Link to similar question in frontend part https://stackoverflow.com/questions/67899820/how-can-i-workaround-missing-www-authenticate-http-header-in-ktor-client