marklogic-community / Corona

Community REST API for MarkLogic
Other
37 stars 9 forks source link

Ignore unknown parms (e.g. querystrings) #67

Closed ScottConroy closed 12 years ago

ScottConroy commented 12 years ago

Probably makes sense to ignore any request parameters passed into the system. Right now requests with unknown parameters fail with an ENDPOINT NOT FOUND. This seems to violates the robustness principle. I think more importantly, additional parameters will make for useful extensibility options.

eedeebee commented 12 years ago

Full agreement here.

hunterhacker commented 12 years ago

Yeah, assuming the REST framework makes this easy to do, it's probably the best design.

eedeebee commented 12 years ago

If it doesn't, then it's a problem for the REST framework imo (and we should fix it).