def authenticate_header(self, request):
        return 'Documentation realm="{}"'.format(self.www_authenticate_realm)
Returns custom value other than "Basic" to prevent BasicAuth dialog prompt when returning 401
dataset/ETHPy150Open CenterForOpenScience/osf.io/api/base/authentication/drf.py/OSFBasicAuthentication.authenticate_header