Re: Yet more HTTP Basic Authentication woes

I have the same problem. The return status is -1.

Though I have my own promptUsernameAndPassword which can disable the prompt
so that it will just
return error (but not hang forever) when a webserver asks for user name and
password. But it somehow
returns -1 but not -401. I am not sure it is because I disable the prompt.



Regards,
Linda



                                                                                           
                    Sam Couter                                                             
                    <eddie@topic.        To:     www-lib@w3.org                            
                    com.au>              cc:                                               
                    Sent by:             Subject:     Yet more HTTP Basic Authentication   
                    www-lib-reque        woes                                              
                    st@w3.org                                                              
                                                                                           
                                                                                           
                    12/14/99                                                               
                    10:36 PM                                                               
                                                                                           
                                                                                           




Slowly making progress...

Things work okay now, except:

If I have no username and password for a page, my termiateRequest()
callback
is called with a status of -1, not -401. This is wrong wrong wrong.

I'm getting lost going round and round the event loop in a debugger, and I
can't quite follow it. Suggestions anyone? Please?
I really need this working...
--
Sam Couter                                             sam@topic.com.au
Internet Engineer
tSA Consulting

Received on Wednesday, 15 December 1999 14:45:50 UTC