HTTPStatus rc = myHttpConnection.request("PROPFIND", path, null, body, 200, 207, null, handler);
SVNErrorMessage context = SVNErrorMessage.create(SVNErrorCode.RA_DAV_REQUEST_FAILED, "Failed to fetch lock information"); HTTPStatus rc = myHttpConnection.request("PROPFIND", path, null, body, 200, 207, null, handler, context);
    public SVNLock doGetLock(String path, DAVRepository repos) throws SVNException {        DAVBaselineInfo info = DAVUtil.getBaselineInfo(this, repos, path, -1, false, true, null);        StringBuffer body = DAVGetLockHandler.generateGetLockRequest(null);        DAVGetLockHandler handler = new DAVGetLockHandler();        HTTPStatus rc = myHttpConnection.request("PROPFIND", path, null, body, 200, 207, null, handler);                String id = handler.getID();        if (id == null) {            return null;        }        String comment = handler.getComment();        String owner = (String) rc.getHeader().get("X-SVN-Lock-Owner");        String created = (String) rc.getHeader().get("X-SVN-Creation-Date");        Date createdDate = created != null ? SVNTimeUtil.parseDate(created) : null;        path = SVNEncodingUtil.uriDecode(info.baselinePath);        if (!path.startsWith("/")) {            path = "/" + path;        }        return new SVNLock(path, id, owner, comment, createdDate, null);    }