Posted by
Ralf Jung on
Aug 11, 2011; 11:54am
URL: https://discuss.orbeon.com/Efficient-POST-PUT-queries-tp3693979p3735631.html
Hi Erik,
> * currently, this only allows posting XML, right? that is, you can't
> post binary/text content?
> * we have to look at the implication for caching, if any (i.e. the URL
> generator shouldn't cache at all in this case)
Attached version of the patch should now support all kinds of contents in the
POST body. As usual, XML can be passed like this
<p:input name="data" href="#xml-post-body" transform="oxf:xml-converter">
<config/></p:input>
However, currently the body is never cached, and there is no way to change the
serialization settings - I did not know the best way to do that.
As for the caching of the result, I tried to make it so that with a non-GET
method, it's never cached. But I do not know if that's what I actually did,
and I might have broken caching completely along the way.
Kind regards,
Ralf
--
You receive this message as a subscriber of the
[hidden email] mailing list.
To unsubscribe: mailto:
[hidden email]
For general help: mailto:
[hidden email]?subject=help
OW2 mailing lists service home page:
http://www.ow2.org/wws