Hi. I have an update and a correction for the (non)issue that I mentioned yesterday.
The binary value for the vnd.marklogic.document-format header was being produced for non-404 responses. To make MarkLogic specify json we changed our document path to include a".json" suffix. -- Stephen ________________________________ From: [email protected] [[email protected]] on behalf of Colleen Whitney [[email protected]] Sent: 02 September 2014 17:25 To: MarkLogic Developer Discussion Subject: Re: [MarkLogic Dev General] Java client - JSON Handler - 7.0.3 produces 404 response as XML Stephen, this sounds like something that you should route through support, they can work with you to log bug(s) on the behavior changes and track them through getting fixes in place. ________________________________ From: [email protected] [[email protected]] on behalf of Souness, Stephen, Springer UK [[email protected]] Sent: Tuesday, September 02, 2014 9:21 AM To: MarkLogic Developer Discussion Subject: Re: [MarkLogic Dev General] Java client - JSON Handler - 7.0.3 produces 404 response as XML Further to my earlier message, it appears that MarkLogic 7.0.3 specifies "binary" for the "vnd.marklogic.document-format" response header, whereas 7.0.2 specifies what we expected: "json". Is this a feature, or something else? -- Stephen ________________________________ Hi all. After an upgrade to 7.0.3 on a development environment, we have noticed that our tests start failing whenever they try requesting a document that does not exist. The cause of the problem seems to be that MarkLogic is responding with an XML format for the 404 error and the client is recognising that is not the JSON that it was expecting to parse. Has anyone else encountered this? We are using the Java Client, version 2.0-3 -- Stephen Souness
_______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
