public static boolean hasChunkedTransferEncodingHeader(ZuulMessage msg) {
        boolean isChunked = false;
        String teValue = msg.getHeaders().getFirst(com.netflix.zuul.message.http.HttpHeaderNames.TRANSFER_ENCODING);
        if (!Strings.isNullOrEmpty(teValue)) {
            isChunked = teValue.toLowerCase(Locale.ROOT).equals("chunked");
        }
        return isChunked;
    }
Ensure decoded new lines are not propagated in headers, in order to prevent XSS

@param input - decoded header string
@return - clean header string
zuul-core/src/main/java/com/netflix/zuul/util/HttpUtils.java