On Mon, Mar 17, 2008 at 12:45:30PM +0100, St�phane Heckel wrote: > # This is header generated by the windows client/server > > POST /index.php?n=Main.TestComments?action=edit HTTP/1.1 > Content-Length: 92 > Content-Type: application/x-www-form-urlencoded > Accept: */* > Host: localhost > User-Agent: > Connection: close > > action=edit&n=Main.TestComments&basetime=1205318858&text=tutu&csum=&author=steph&post=+Save+ > > This request generates a "200" OK but _does not_ update the wiki page, ... > > Any idea why the wiki page is not updated ?
You don't want to be sending the basetime= parameter. This is how PmWiki determines if a page changes while someone is editing it (i.e., simultaneous edits). So, if the currently saved page is newer than "basetime", then PmWiki sends back an updated edit form to allow the author to fix any conflicts that arose. For an automatic update like you're using, you simply want the new text to replace any existing text, so no basetime= parameter should be present. Pm _______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
