Yeah I was actually thinking of doing it with node.js. If I do I'll post the 
code

From: [email protected]
Date: Thu, 17 Nov 2011 19:15:42 +0100
To: [email protected]
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: [email protected] 
[mailto:[email protected]] Namens Wayne Feick

Verzonden: donderdag 17 november 2011 18:49
Aan: [email protected]
Onderwerp: Re: [MarkLogic Dev General] Possible to send custom HTTP method from 
MarkLogic?
 No, there is not.

On 11/17/2011 09:40 AM, [email protected] 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 [email protected]
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
[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