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

jda jda at his.com
Sat Feb 15 21:17:11 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.




Excellent -- thanks!

Jon


More information about the Valentina mailing list