anchor.diff:  <%@page session="false"%>
   <%@page import=
  -"java.net.HttpURLConnection,
  +                "java.net.HttpURLConnection,
   java.net.URL,
   java.net.URLEncoder,
   java.net.URLDecoder,
  
positive.code: java.text.SimpleDateFormat" %>
  
  <!-- ----------------------------------------------------------
   *
   * JSP proxy client
   *
   * Version 1.1 beta
   * See https://github.com/Esri/resource-proxy for more information.
   *
  ----------------------------------------------------------- -->
  
  <%! final String version = "1.1 Beta";   %>
  
negative.code:         buffer.write(bytes, 0, bytesRead);
        }
        buffer.flush();
  
  	  //Check if the content of the HttpURLConnection contains error message
        String strResponse = buffer.toString();
        if (!ignoreAuthenticationErrors && strResponse.indexOf("{\"error\":{") > -1 && (strResponse.indexOf("\"code\":498") > -1 || strResponse.indexOf("\"code\":499") > -1)) {
          return true;
        }
  
        byte[] byteResponse = buffer.toByteArray();
        OutputStream ostream = clientResponse.getOutputStream();
  