nuxeo / nuxeo-js-client

JavaScript client library for Nuxeo API
Other
18 stars 20 forks source link

Add content JSON type in headers when deleting a document #1

Closed kfrapin closed 10 years ago

kfrapin commented 10 years ago

With Nuxeo 5.8 :

When the Content-Type is not set to 'application/json', an exception is thrown by the JAX-RS Exception in JAX-RS processing javax.ws.rs.WebApplicationException

This exception disappears when the 'Content-type' is set, and the deletion is properly made on Nuxeo platform.

troger commented 10 years ago

Thanks @kfrapin for the fix!