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