Spring Boot 2.7.0+ Spring Cloud Gateway 3.1.3 已经解决! Spring Cloud 2021.03+ 只需要配置 spring : codec: max-in-memory-size: -1