[gdal-dev] [WFS Driver] Http Error Code 414
Even Rouault
even.rouault at mines-paris.org
Tue Jun 19 10:41:01 PDT 2012
Le mardi 19 juin 2012 17:06:17, xavier lhomme a écrit :
> Hi
> I tried to submit a POST request with the KVP form to an ArcGIS Server 10.0
> but in response I've got an XML Parsing error.
>
> Do I need to translate the KVP form of the url into an XML form ?
Yes, the content you send in a POST is different from the KVP of a GET. There
are examples (if I remember correctly) in the OGC WFS spec.
>
> xav
>
>
> 2012/6/12 Even Rouault <even.rouault at mines-paris.org>
>
> > Le mardi 12 juin 2012 14:38:05, xavier lhomme a écrit :
> > > Hello
> > >
> > > I'm requesting a WFS source with a very long request. The URI
> > > generated
> >
> > by
> >
> > > the WFS driver is very long (more than 2048). In return I' ve got an
> > > HTTP error code 414.
> > >
> > > OGRWFSDataSource::HTTPFetch function should be protected against very
> >
> > long
> >
> > > URI and switch between a GET request to a POST request.
> >
> > Patch welcome and public server for testing :-)
> >
> > > best regards
> > > xavier
More information about the gdal-dev
mailing list