changeset 1196:44491798e431

debug "body is null"
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 26 Feb 2018 21:06:28 -0700
parents 9a57f0b16c2b
children 886e14903c1e
files src/luan/webserver/Connection.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
diff -r 9a57f0b16c2b -r 44491798e431 src/luan/webserver/Connection.java
--- a/src/luan/webserver/Connection.java	Mon Feb 26 19:07:49 2018 -0700
+++ b/src/luan/webserver/Connection.java	Mon Feb 26 21:06:28 2018 -0700
@@ -85,7 +85,7 @@
 					String contentType = (String)request.headers.get("content-type");
 					if( contentType != null ) {
 						if( request.body == null ) {
-							logger.error("body is null");
+							logger.error("body is null\n"+request.rawHead);
 						} else {
 							if( "application/x-www-form-urlencoded".equals(contentType) ) {
 								parser.parseUrlencoded();