diff src/goodjava/webserver/RequestParser.java @ 1766:8df0b80e715e

fix scheduled tasks
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 06 Jun 2023 14:33:24 -0600
parents a02a75e3daa8
children b914a726061f
line wrap: on
line diff
--- a/src/goodjava/webserver/RequestParser.java	Fri May 26 10:29:55 2023 -0600
+++ b/src/goodjava/webserver/RequestParser.java	Tue Jun 06 14:33:24 2023 -0600
@@ -21,7 +21,7 @@
 
 	void parseUrlencoded(String charset) throws ParseException, UnsupportedEncodingException {
 		if( request.body == null ) {
-			logger.warn("body is null\n"+request.rawHead);
+			logger.info("body is null\n"+request.rawHead);
 			return;
 		}
 		this.parser = new Parser(Util.toString(request.body,charset));
@@ -194,7 +194,7 @@
 
 	void parseMultipart() throws ParseException, UnsupportedEncodingException {
 		if( request.body == null ) {
-			logger.warn("body is null\n"+request.rawHead);
+			logger.info("body is null\n"+request.rawHead);
 			return;
 		}
 		String contentType = (String)request.headers.get("content-type");
@@ -274,7 +274,7 @@
 	// improve later
 	void parseJson(String charset) throws UnsupportedEncodingException {
 		if( request.body == null ) {
-			logger.warn("body is null\n"+request.rawHead);
+			logger.info("body is null\n"+request.rawHead);
 			return;
 		}
 		String value = Util.toString(request.body,charset);