[OFF] Re: [V4RB] Writing a simple server

John DeSoi jdesoi at planetc.com
Sat Feb 15 20:10:35 CST 2003


At 6:53 PM -0500 2/15/03, jda wrote:
>
>OK, I've looked at the rfc and understand what is needed. What I 
>don't quite see is how do I get the browser to send the 
>Authorization information. When I get a hit, do I respond with a 401 
>message? But how would the browser interpret that (put up a name and 
>password dialog on its own -- I think not). Or do I make my own name 
>and passoword input fields in the web page -- that's easy, but I 
>don't see how to join them and send them as base64.


Yes, you send a 401 response and the browser will provide a 
user/password dialog. After the user enters the information the page 
will be requested again with the Authorization header included.

Best,

John DeSoi, Ph.D.


More information about the Valentina mailing list