[TinyOWS-dev] Content-type in a WFS post request

Courtin Olivier olivier.courtin at camptocamp.com
Wed Nov 12 14:41:36 EST 2008


On Nov 7, 2008, at 5:46 PM, Normand Savard wrote:

Hi Normand,

> I noticed that tinyows accepts only "text/xml" as content-type.
> Tinyows rejects "application/xml;  charset=UTF-8" content-type.
> I'm wondering  why this is the case.  I googled a little bit and  
> cannot find a clear answer.

Well i just follow the WFS 1.1 spec on 6.5 paragraph:

</cite>
When using HTTP POST method, the content type for XML encoded WFS  
requests *must* be set to text/xml.
</cite>

I did'nt check on WFS 1.0 one indeed...

> Can someone shed some light on this?

Fiat lux ? ;)

--
Olivier






More information about the TinyOWS-dev mailing list