src/main/java/com/moon/server/helper/HttpHelper.java
@@ -26,10 +26,7 @@ import java.nio.charset.StandardCharsets; import java.util.Enumeration; /** * Http帮助类 * @author WWW */ @SuppressWarnings("ALL") public class HttpHelper { private final static String HTTP_SLASH2 = "://"; @@ -270,6 +267,10 @@ if (null == entity) { return; } if (null == res) { entity.writeTo(response.getOutputStream()); return; } switch (res.getCategory()) { case 2: