public static Integer getBodySizeIfKnown(ZuulMessage msg) {
        Integer bodySize = getContentLengthIfPresent(msg);
        if (bodySize != null) {
            return bodySize;
        }
        if (msg.hasCompleteBody()) {
            return msg.getBodyLength();
        }
        return null;
    }
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