From: Wolfgang M. <wol...@gm...> - 2007-04-20 09:59:54
|
> That's right. I am not sure of this is the right process to follow here, but > I added a feature request on SF.net for this. > http://sourceforge.net/tracker/index.php?func=detail&aid=1703279&group_id=17691&atid=367691 My original idea was to restrict POST requests to the REST server: a POST should always contain an XML fragment and nothing else. However, we already allow url-encoded parameters to be POSTed to XQuery resources, so why not also allow them on other documents? We could use the Content-Type header to decide. If it is application/x-www-form-urlencoded, eXist should not try to parse the data as XML but just treat it like a GET request. Wolfgang |