This commit is contained in:
Redkale
2016-11-10 16:22:04 +08:00
parent e9096372d3
commit 9e0876dee2

View File

@@ -290,7 +290,8 @@ public class HttpRequest extends Request<HttpContext> {
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() + ", \r\n params: " + this.params.toString(4) + ", \r\n header: " + this.header.toString(4) + "\r\n}";
+ ", \r\n host: " + this.host + ", \r\n bodylength: " + this.array.size() + (this.boundary ? "" : (", \r\n body: " + this.getBodyUTF8()))
+ ", \r\n params: " + this.params.toString(4) + ", \r\n header: " + this.header.toString(4) + "\r\n}";
}
/**