marklogic-community / ml-rest-lib

An XQuery library designed to make it easier to develop and deploy RESTful web services on MarkLogic Server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

process-request should be more aggressive about error-checking, at least at user option

ndw opened this issue · comments

The process-request method assumes that the endpoint was dispatched by the rewriter using a common endpoint description. As such, it doesn't check the method, accept headers, etc. It should probably have an option for doing so.