From fd2e84f7814f1ccf3234adf787becddb1b489ac5 Mon Sep 17 00:00:00 2001 From: Redkale <8730487+redkale@users.noreply.github.com> Date: Thu, 30 Jul 2020 18:02:29 +0800 Subject: [PATCH] --- src/org/redkale/net/http/HttpRequest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/org/redkale/net/http/HttpRequest.java b/src/org/redkale/net/http/HttpRequest.java index c8835b75a..b02512ac6 100644 --- a/src/org/redkale/net/http/HttpRequest.java +++ b/src/org/redkale/net/http/HttpRequest.java @@ -110,6 +110,7 @@ public class HttpRequest extends Request { this.contentType = req.getContentType(); this.remoteAddr = req.getRemoteAddr(); this.requestURI = req.getRequestURI(); + this.method = "POST"; if (req.getSessionid() != null && !req.getSessionid().isEmpty()) { this.cookies = new HttpCookie[]{new HttpCookie(SESSIONID_NAME, req.getSessionid())}; }