public boolean putMethod(String path, InputStream is)
throws HttpException, IOException {
setClient();
PutMethod method = new PutMethod(HttpURL.getPathQuery(path));
method.sendData(is);
method.setDebug(debug);
client.executeMethod(method);
int statusCode = method.getStatusCode();
setStatusCode(statusCode);