Try.
raise(HTTP(401, headers={'WWW-Authenticate': 'NTLM'}))-- Thadeus On Wed, Apr 28, 2010 at 11:33 AM, Mark Larsen <[email protected]> wrote: > I'm curious if something like this: > > http://www.rgagnon.com/javadetails/java-0441.html > > Can be done with web2py? > > Essentially I need to: > > response.status = 401 > response.headers["WWW-Authenticate"] = "NTLM" > > From a controller. > > The response.status doesn't seem to do anything as it still returns 200. > > Any ideas? > > Thanks. >

