[MarkLogic Dev General] Possible to send custom HTTP method from MarkLogic?
semerau at hotmail.com
semerau at hotmail.com
Thu Nov 17 10:17:44 PST 2011
Yeah I was actually thinking of doing it with node.js. If I do I'll post the code
From: geert.josten at dayon.nl
Date: Thu, 17 Nov 2011 19:15:42 +0100
To: general at developer.marklogic.com
Subject: Re: [MarkLogic Dev General] Possible to send custom HTTP method from MarkLogic?
Ryan,
Not ideal, but you could setup a small servlet running next to ML and call that with a plain GET to make it do the PURGE call..
Kind regards,
Geert
Van: general-bounces at developer.marklogic.com [mailto:general-bounces at developer.marklogic.com] Namens Wayne Feick
Verzonden: donderdag 17 november 2011 18:49
Aan: general at developer.marklogic.com
Onderwerp: Re: [MarkLogic Dev General] Possible to send custom HTTP method from MarkLogic?
No, there is not.
On 11/17/2011 09:40 AM, semerau at hotmail.com wrote: Some cache servers like Squid and Varnish allow you to send a cache purge command to the server using a non-standard HTTP method called PURGE. I see in the MarkLogic docs that there are http methods in xdmp for GET, POST, PUT, HEAD, DELETE and OPTIONS but nothing for PURGE and nothing for a custom method that I can see. Is there a way to send custom HTTP methods from MarkLogic?
thanks,
Ryan
-- Wayne FeickPrincipal EngineerMarkLogic CorporationWayne.Feick at marklogic.com
Phone: +1 650 655 2378www.marklogic.com This e-mail and any accompanying attachments are confidential. The information is intended solely for the use of the individual to whom it is addressed. Any review, disclosure, copying, distribution, or use of this e-mail communication by others is strictly prohibited. If you are not the intended recipient, please notify us immediately by returning this message to the sender and delete all copies. Thank you for your cooperation.
_______________________________________________
General mailing list
General at developer.marklogic.com
http://developer.marklogic.com/mailman/listinfo/general
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://developer.marklogic.com/pipermail/general/attachments/20111117/0c62566d/attachment.html
More information about the General
mailing list