Ticket #4546 (closed defect: fixed)
Wrong header in GeoJSON driver
| Reported by: | sergeyastakhov | Owned by: | warmerdam |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.10.0 |
| Component: | default | Version: | svn-trunk |
| Severity: | normal | Keywords: | |
| Cc: | mloskot |
Description
http://trac.osgeo.org/gdal/browser/trunk/gdal/ogr/ogrsf_frmts/geojson/ogrgeojsondatasource.cpp#L466
char* papsOptions[] = { (char*) "HEADERS=Accept: text/plain Accept: application/json", NULL };
This is a wrong format for "Accept" header. Right header should be like this:
char* papsOptions[] = { (char*) "HEADERS=Accept: text/plain, application/json", NULL };
Change History
Note: See
TracTickets for help on using
tickets.
