Hi, Ellis:

You can send requests with the PATCH method to an appserver in MarkLogic 7.

The typical HTTP workaround where the PATCH method is not supported is, as 
David pointed out, to send a POST request with the X-HTTP-Method-Override: 
PATCH header.

You can use that approach prior to MarkLogic 7.  In your appserver code, test 
for the header and branch.


Hoping that helps,


Erik Hennum

________________________________________
From: [email protected] 
[[email protected]] on behalf of Ellis Pritchard 
[[email protected]]
Sent: Wednesday, November 20, 2013 9:45 AM
To: [email protected]
Subject: [MarkLogic Dev General] HTTP PATCH?

Hi,

Am I right in thinking that MarkLogic HTTP servers don't support the HTTP PATCH 
method, at least in version 5?

I get a 405 and a response from the server of:

Allow: ACL, COPY, DELETE, GET, HEAD, LOCK, MKCALENDAR, MKCOL, MOVE, OPTIONS, 
POST, PROPFIND, PROPPATCH, PUT, REPORT, UNLOCK

Doesn't appear to go near the re-writer, or the server log for that matter.

?

Ellis.

_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to