|
def get_authenticate_header(self, request): |
Since WWW-Authenticate allows comma separated challenges https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/WWW-Authenticate#syntax, why not enable that here by returning headers from all authenticators instead of just the first one?
django-rest-framework/rest_framework/views.py
Line 183 in 3f8ab53
Since
WWW-Authenticateallows comma separated challenges https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/WWW-Authenticate#syntax, why not enable that here by returning headers from all authenticators instead of just the first one?