Re: [gdal-dev] [WFS Driver] Http Error Code 414

2012-06-19 Thread Even Rouault
Le mardi 19 juin 2012 21:41:06, xavier lhomme a écrit : > From specification > > When using the HTTP POST method, the content type for XML encoded WFS > requests must be set to text/xml. When using the HTTP POST method, the > content type for KVP encoded WFS requests must be set to > application/

Re: [gdal-dev] [WFS Driver] Http Error Code 414

2012-06-19 Thread xavier lhomme
>From specification When using the HTTP POST method, the content type for XML encoded WFS requests must be set to text/xml. When using the HTTP POST method, the content type for KVP encoded WFS requests must be set to application/x-www-form-urlencoded and the content of the document must be equiv

Re: [gdal-dev] [WFS Driver] Http Error Code 414

2012-06-19 Thread Even Rouault
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

Re: [gdal-dev] [WFS Driver] Http Error Code 414

2012-06-19 Thread xavier lhomme
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 ? xav 2012/6/12 Even Rouault > Le mardi 12 juin 2012 14:38:05, xavier lhomme a écrit : > > Hello > > >

Re: [gdal-dev] [WFS Driver] Http Error Code 414

2012-06-12 Thread Even Rouault
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

[gdal-dev] [WFS Driver] Http Error Code 414

2012-06-12 Thread xavier lhomme
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 req