- From: Steven Pemberton <steven.pemberton@cwi.nl>
- Date: Wed, 18 Apr 2018 14:51:37 +0200
- To: " XForms" <public-xformsusers@w3.org>
This was the last mail I sent with regards this topic (note that it is not only about non-XML, but covers XML delivered with non-XML media-types). My suggestion was to use contenttype, though comtent-type would also be possible. Steven On Wed, 01 Nov 2017 10:39:09 +0100, Steven Pemberton <steven.pemberton@cwi.nl> wrote: > I couldn't find any example of an attribute for overriding the incoming > mediatype. > > The header name for the value is "content-type", so some possibilities > are: > > <submission resource="..." replace="instance" instance="result" > override="application/xml" /> > <submission resource="..." replace="instance" instance="result" > contenttype="application/xml" /> > <submission resource="..." replace="instance" instance="result" > content="application/xml" /> > <submission resource="..." replace="instance" instance="result" > treatas="application/xml" /> > > My current feeling is for contenttype. > > Steven
Received on Wednesday, 18 April 2018 12:52:13 UTC