Loading TOC...

xdmp.getResponseCode

xdmp.getResponseCode() as ValueIterator

Summary

Returns two nodes, the first containing the HTTP response code and the second containing the HTTP response message.

Usage Notes

You can use this with an HTTP Server error handler to create custom error pages.

Example

xdmp.responseCode();
=> 200
   OK

Comments

    Powered by MarkLogic Server 7.0-4.1 and rundmc | Terms of Use | Privacy Policy