Opened 9 years ago

Closed 9 years ago

Last modified 9 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
Cc:

Description

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 9 years ago.

Download all attachments as: .zip

Change History (4)

by otimperi, 9 years ago

comment:1 by otimperi, 9 years ago

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 by Even Rouault, 9 years ago

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 by Even Rouault, 9 years ago

Milestone: 2.02.0.0

Milestone renamed

Note: See TracTickets for help on using tickets.