[mod_python] mod_python.publisher

kai at keliikuli.com kai at keliikuli.com
Thu Aug 29 14:40:19 EST 2002


Hi All, 
I had an authentication header problem with opera 6.0.2 
on Linux (Slackware 8.1).  I traced it to Lines 250 
and/or 263 of mod_python.publisher...

This line 
s = 'Basic realm = "%s"' % realm
produces this header line ( as sent to client)
WWW-Authenticate: Basic realm = "Members Only"\r\n


opera doesn't like the spaces between realm,=, and "%s"' % realm
it seems happy with.

s = 'Basic realm="%s"' % realm
which produces this header line
WWW-Authenticate: Basic realm = "Members Only"\r\n



I then tested it on a few others with the above change:

MSIE 6.0.2600.0000 ( what's with that version numbering? ): OK
Mozilla 1.0: OK

I'm going to test on some more but being lazy I thought I'd 
ask if anybody knows of any browsers and the versions thereof
which are fussy about the WWW-Authenticate line
Kai



More information about the Mod_python mailing list