eblondel / geosapi

R interface to GeoServer REST API
https://github.com/eblondel/geosapi/wiki
Other
34 stars 5 forks source link

Shapefile upload doesn't work anymore - wrong Content-Type #53

Closed eblondel closed 2 years ago

eblondel commented 2 years ago

The error reports a magic number issue. I suspect the previous code was working because of typo in "Content-Type" ("Content-type") header that was ignoring the header. But the header has been fixed with https://github.com/eblondel/geosapi/commit/8aa7c006e4b8cb37083f4b2f150795f86d74ee82 breaking the upload of shapefile where a empty Content-Type was set.