sb.append(path[i].toString());
if (i<path.length-1) {
sb.append('/');
}
}
HttpMessage newMsg = base.cloneRequest();
URI uri = new URI(sb.toString(), true);
newMsg.getRequestHeader().setURI(uri);
newMsg.getRequestHeader().setMethod(HttpRequestHeader.GET);
newMsg.getRequestBody().setBody("");
newMsg.getRequestHeader().setContentLength(0);
//HistoryReference historyRef = new HistoryReference(model.getSession(), baseRef.getHistoryType(), newMsg);
HistoryReference historyRef = new HistoryReference(model.getSession(), HistoryReference.TYPE_TEMPORARY, newMsg);
return historyRef;