Hi Christian, I guess serving static xhtml is not so common but I was thinking about generating the xhtml using xquery, so there would still be the need to modify the Content-Type. This scenario would allow for a pure xhtml/javascript/xquery application. Btw, are there any objections about publicly exposing the jax-rx api in a real world application? What security options would I have besides database user/password? Best regards, Max 2010/7/31 Christian Grün <christian.gruen@gmail.com>:
Hi Max,
currently, the Content-Type is always set to text/plain if "wrap" is set to "no". Otherwise (depending on the evaluated query), the returned results might not always be well-formed. – We might change this in future, however, as your request sounds quite reasonable.
Best, Christian