[Geoserver-users] upload coverage by REST API

Hi,
     The error "Could not determine format. Try setting the Content-type header." was raised
when I upload a raster data to geoserver by using the command :

     curl -u admin:geoserver -v -XPUT -H 'Content-type: application/zip' \
         --data-binary @classfield.zip \
         http://localhost:8080/geoserver/rest/workspaces/geonode/coveragestores/ZZPDOWELL/classfield.geotiff

but it is obvious that i have gave the -H parameter to set the header, any suggestions will be help ?

Thanks