issue #118: Fix File URL in rest upload
This commit is contained in:
parent
6a4849ff97
commit
b5bf46a189
@ -184,7 +184,7 @@ public class GeoServerRESTStructuredGridCoverageReaderManager extends GeoServerR
|
|||||||
coverageStore, "/", UploadMethod.EXTERNAL.toString(), ".", format).toString();
|
coverageStore, "/", UploadMethod.EXTERNAL.toString(), ".", format).toString();
|
||||||
|
|
||||||
// POST request
|
// POST request
|
||||||
String result = HTTPUtils.post(sUrl, "file:/" + path, "text/plain", gsuser, gspass);
|
String result = HTTPUtils.post(sUrl, "file://" + path, "text/plain", gsuser, gspass);
|
||||||
return result != null;
|
return result != null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user