Hello,
Is it possible to overwrite default HTTP headers in RESTXQ? I am running BaseX in Tomcat 7 and have set the
authmethod param set to "Custom." I wanted to define my own
WWW-Authenticate header for Digest authentication. I tried something like this:
<http:header
name="WWW-Authenticate"
value="{
``[Digest realm="BaseX",
qop="auth, auth-int",
algorithm=MD5,
nonce=`{hash:md5(random:uuid())}`]``
}"/>
However, the WWW-Authenticate header only returns a value of Custom realm="BaseX" no matter what I do in the custom RESTXQ response.
Thanks in advance,
Tim
--
Tim A. Thompson
Discovery Metadata Librarian
Yale University Library