title: Django REMOTE_USER does not exist but HTTP_REMOTE_USER does
body: <p>All,</p>
  
  <p>I have what should be a very simple problem. I am trying to use Django authentication using the REMOTE_USER variable following these instructions: <a href="https://docs.djangoproject.com/en/1.8/howto/auth-remote-user/" rel="nofollow">https://docs.djangoproject.com/en/1.8/howto/auth-remote-user/</a>. </p>
  
  <p>Then, to test that this is working, I am using the postman chrome extension. There I am setting a header variable with the name "REMOTE-USER" and then text for a superuser, and then I'm hitting the django admin page. I don't automatically login.</p>
  
  <p>I set a break point in the process_request function in the <code>RemoteUserMiddleware</code> class. When I make the request, I see that <code>request.META["HTTP_REMOTE_USER"]</code> exists but <code>request.META["REMOTE_USER"]</code> does not exist. The default <code>RemoteUserMiddleware</code> variable uses <code>header="REMOTE_USER"</code>. It seems that HTTP Header variables gets a HTTP_ prefix, so I don't understand how this would ever work.</p>
  
  <p>I feel like I must be missing something obvious. Thanks!</p>