<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Hello,<br><br>I'm trying to extract the Realm value from the WWW-Authenticate header of the 401 unauthorized reply, however, I can't find a pseudo-variable for it, so I tried the following:<br><br>$var(temp)=$(&lt;reply&gt;hdr(WWW-Authenticate){param.value,Realm});<br><br>I also tried it with Digest Realm, Digest and "Digest Realm".<br><br>The received value in 401 is:<br><br>WWW-Authenticate: Digest realm="XXXX",nonce="5e36af",qop="auth"<br><br>I'm getting the following error: parse_params: invalid character, ; expected, found r<br><br>So think the problems happens because there is a space in the parameter name.<br><br>Does anyone know how can I do this?<br><br>Thanks,<br>Marwan<br><font color="#333399" face="Courier New, Courier, Monospace" size="3"></font>                                               </div></body>
</html>