marklogic-community / ml-rest-lib

An XQuery library designed to make it easier to develop and deploy RESTful web services on MarkLogic Server
11 stars 3 forks source link

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

Open ndw opened 12 years ago

ndw commented 12 years ago

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.