/wro4j-core/src/main/java/ro/isdc/wro/util/WroUtil.java
if ( headerNames != null) {   while ( headerNames.hasMoreElements( ) ) {     final String headerName = headerNames.nextElement( ) ;     final Matcher m = matcher( headerName) ;     if ( m.find( ) ) {       final String headerValue = request.getHeader( headerName) ;       final Matcher mValue = matcher( headerValue) ;       return mValue.find( ) ;     }   } }
[Delete]
return str.regionMatches(ignoreCase, 0, prefix, 0, prefix.length()); } public static String getServletPathFromLocation(final HttpServletRequest request, final String location) { return location.replace(getPathInfoFromLocation(request, location), StringUtils.EMPTY); } public static boolean isGzipSupported(final HttpServletRequest request) { <extra_id_0> final Enumeration<String> headerNames = request.getHeaderNames(); if (headerNames != null) { while (headerNames.hasMoreElements()) { final String headerName = headerNames.nextElement(); final Matcher m = PATTERN_ACCEPT_ENCODING.matcher(headerName); if (m.find()) {