UIMA-6037 Should handle only rsync requests

git-svn-id: https://svn.apache.org/repos/asf/uima/uima-ducc/trunk@1865788 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/uima-ducc-web/src/main/java/org/apache/uima/ducc/ws/server/DuccHandlerRsync.java b/uima-ducc-web/src/main/java/org/apache/uima/ducc/ws/server/DuccHandlerRsync.java
index 195b35e..bef1d33 100644
--- a/uima-ducc-web/src/main/java/org/apache/uima/ducc/ws/server/DuccHandlerRsync.java
+++ b/uima-ducc-web/src/main/java/org/apache/uima/ducc/ws/server/DuccHandlerRsync.java
@@ -171,14 +171,12 @@
 		duccLogger.debug(methodName, null,request.toString());
 		duccLogger.debug(methodName, null,"getRequestURI():"+request.getRequestURI());
 		String reqURI = request.getRequestURI()+"";
-		if(reqURI.startsWith(duccContext)) {
+    if(reqURI.startsWith(duccinator_update)) {
 			response.setContentType("text/html;charset=utf-8");
 			response.setStatus(HttpServletResponse.SC_OK);
 			baseRequest.setHandled(true);
-			if(reqURI.startsWith(duccinator_update)) {
-				handleDuccServletDuccinatorUpdate(target, baseRequest, request, response);
-				//DuccWebUtil.noCache(response);
-			}
+			handleDuccServletDuccinatorUpdate(target, baseRequest, request, response);
+			//DuccWebUtil.noCache(response);
 		}
 		duccLogger.trace(methodName, null, messages.fetch("exit"));
 	}