Hi Sebastian,
thanks for your e-mail; I’m pleased to see you are still working with BaseX.
So just by dropping a file like „custom.xqm" in the restxq path, we can customize the system.
…sounds like a nice idea.
The drawback is that we can only use this for HTTPS requests from the client, but not from the server, because we use HTTPS. So we cannot use RESTXQ requests server side with http:send-request. (Or do we?)
I guess I have no answer to that, as I haven’t actually come across this challenge yet. This might be completely off the track, but maybe it’s also a question of how Jetty is configured? Did you already check out the jetty.xml file and possible settings?
Christian