Hi,
I am trying to return a custom http error code in my rxq webapp (jetty embeded) like is the documentation :
declare %rest:path ( "/teapot" ) function page:teapot() { fn: error ( xs:QName ( 'error' ), "I'm a teapot" , 418) };
My client always receive a 400 instead of 418.
Tests are running on BaseX912 & BaseX921. Thank you for your time.
Regards,
Jérôme Chauveau