WebEventReceive -> response with header data (WWW-Authenticate)

Hi, can you tell me please,
if i have some WebEvent :

private void test_WebEventReceived(string path, WebServer.HttpMethod method, Responder responder){

responder.Respond(“test”);
}

How can i include headerData? I need on some pages authorization. Is possible to include WWW-Authenticate: Basic realm=“Secure Area” into header data? Can u tell me how to use http Basic access authentication?

thank you a lot for answers.