marklogic-community / data-explorer

Data Explorer Tool
Other
15 stars 4 forks source link

REST API Content-Type should be Application/JSON #181

Open nlaprell opened 5 years ago

nlaprell commented 5 years ago

Content-Type header is not being set for all REST API responses and therefore defaulting to text. The response should be explicitly set to JSON.

Note: this prevents Groovy expression testing for JSON responses in the Rest Assured unit tests.