diff options
Diffstat (limited to 'users/views/identity.py')
-rw-r--r-- | users/views/identity.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/users/views/identity.py b/users/views/identity.py index d98ce9d..27d2e4e 100644 --- a/users/views/identity.py +++ b/users/views/identity.py @@ -42,7 +42,7 @@ class ViewIdentity(ListView): ): self.identity.transition_perform(IdentityStates.outdated) # If they're coming in looking for JSON, they want the actor - accept = request.META.get("HTTP_ACCEPT", "text/html").lower() + accept = request.headers.get("accept", "text/html").lower() if ( "application/json" in accept or "application/ld" in accept |