If you are running Django on Apache using mod_wsgi you have to add
WSGIPassAuthorization On
in your httpd.conf. Otherwise, the authorization header will be stripped out by mod_wsgi.
If you are running Django on Apache using mod_wsgi you have to add
WSGIPassAuthorization On
in your httpd.conf. Otherwise, the authorization header will be stripped out by mod_wsgi.