From 86a219e3e1c853b4f613fc80a6bfb924d22c39ba Mon Sep 17 00:00:00 2001 From: Redkale <22250530@qq.com> Date: Thu, 10 Nov 2016 16:27:41 +0800 Subject: [PATCH] --- src/org/redkale/net/http/HttpRequest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/redkale/net/http/HttpRequest.java b/src/org/redkale/net/http/HttpRequest.java index 71555d61c..e04604e6f 100644 --- a/src/org/redkale/net/http/HttpRequest.java +++ b/src/org/redkale/net/http/HttpRequest.java @@ -290,7 +290,7 @@ public class HttpRequest extends Request { return this.getClass().getSimpleName() + "{\r\n method: " + this.method + ", \r\n requestURI: " + this.requestURI + ", \r\n remoteAddr: " + this.getRemoteAddr() + ", \r\n cookies: " + this.cookiestr + ", \r\n contentType: " + this.contentType + ", \r\n connection: " + this.connection + ", \r\n protocol: " + this.protocol + ", \r\n contentLength: " + this.contentLength - + ", \r\n host: " + this.host + ", \r\n bodylength: " + this.array.size() + (this.boundary ? "" : (", \r\n body: " + this.getBodyUTF8())) + + ", \r\n host: " + this.host + ", \r\n bodylength: " + this.array.size() + (this.boundary || this.array.isEmpty() ? "" : (", \r\n body: " + this.getBodyUTF8())) + ", \r\n params: " + this.params.toString(4) + ", \r\n header: " + this.header.toString(4) + "\r\n}"; }