On Tue, 26 Oct 2010 12:02:43 +0200 Bjoern Kalkbrenner <[email protected]> wrote:
> Hi, > > i am trying to work with WSAPI while "porting" the jsonrpc server > available in the http://json.luaforge.net/ package from cgilua to > "plain" WSAPI. > > I tried to get the HTTP auth info out of the WSAPI but i am failing... > > (wsapi response:) > res["WWW-Authenticate"] = 'Basic realm="test"'; > res.status = 401 > > Then i get the http auth dialog, that's working. But - when i enter > user and password, where can i get the auth data (entered user+pass) > from? the username is in env.REMOTE_USER , afaik there is no way to retrieve the password , at least that is not part of the cgi specs as far im aware of. startx _______________________________________________ Kepler-Project mailing list [email protected] http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project http://www.keplerproject.org/
