jatin-practice / django-rest-interface

Automatically exported from code.google.com/p/django-rest-interface
0 stars 0 forks source link

HttpBasicAuthentication doesn't set REMOTE_USER #38

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. use HttpBasicAuthentication in a Collection
2. Try to access request.META['REMOTE_USER']
3. KeyError

What is the expected output? What do you see instead?
Expect to see username that user logged in with through HTTP Basic auth. 
Get KeyError instead.

What version of the product are you using? On what operating system?
django-rest-interface SVN on Linux

Please provide any additional information below.
I created a fix and attached a patch.  Please let me know if this is wrong
since I am currently using it.

Original issue reported on code.google.com by ihas...@gmail.com on 26 May 2009 at 12:34

GoogleCodeExporter commented 8 years ago
Woops, uploaded the wrong patch file.

Original comment by ihas...@gmail.com on 26 May 2009 at 1:04

Attachments: