This commit is contained in:
Redkale
2020-07-01 18:08:39 +08:00
parent cf0cd66ac9
commit d501e2016f

View File

@@ -257,10 +257,10 @@ public class HttpRequest extends Request<HttpContext> {
private void parseBody() {
if (this.boundary || bodyparsed) return;
bodyparsed = true;
if (this.contentType != null && this.contentType.toLowerCase().contains("x-www-form-urlencoded")) {
addParameter(array, 0, array.size());
}
bodyparsed = true;
}
private void addParameter(final ByteArray array, final int offset, final int len) {