Nov. 25, 2003
6 a.m.
On Tue, 25 Nov 2003 16:03:32 +1100 Stuart Hungerford <stuart.hungerford@anu.edu.au> wrote:
Before I move onto learning about cred, guard and more sophisticated authentication schemes, I'm trying to get a simple example working with basic HTTP authentication.
See http://twistedmatrix.com/users/roundup.twistd/twisted/issue393 But you should also read the appropriate RFC. You need to return an Unauthorized status code (401) and appropriate header if you got no credentials in order to request browser to send it on next request. -- Itamar Shtull-Trauring http://itamarst.org/ Available for Python & Twisted consulting