Opened 7 years ago

Closed 7 years ago

Last modified 6 years ago

#5824 closed enhancement (fixed)

[PATCH] set cookies for curl

Reported by: otimperi Owned by: warmerdam
Priority: normal Milestone: 2.0.0
Component: default Version: svn-trunk
Severity: normal Keywords: wfs curl cookie http


This patch enables one to supply cookies to curl using GDAL_HTTP_COOKIE configuration option. In addition cookie support is added to the WFS datasource xml file (COOKIE element).

Attachments (1)

gdal-curl-cookie-support.patch (2.4 KB) - added by otimperi 7 years ago.

Download all attachments as: .zip

Change History (4)

Changed 7 years ago by otimperi

comment:1 Changed 7 years ago by otimperi

The idea behind this patch is that we are dealing with a third-party WFS service that sits behind an authentication scheme that uses a set of cookies for authentication. This patch makes it much easier to work with the service. Earlier I had to download anything I wanted from the service myself and then feed the results to GDAL. That was neither elegant nor fun :-)

comment:2 Changed 7 years ago by Even Rouault

Milestone: 2.0
Resolution: fixed
Status: newclosed

trunk r28371 "Add COOKIE option to CPLHTTPFetch(), as well as in OGR WFS driver (patch by otimperi, #5824)"

comment:3 Changed 6 years ago by Even Rouault


Milestone renamed

Note: See TracTickets for help on using tickets.