From f4f0523d23cfab2ce35b3db869bb20f2a4a3c62f Mon Sep 17 00:00:00 2001 From: Keith Irwin Date: Sat, 10 Sep 2022 15:00:13 -0600 Subject: [PATCH] Debug bad http response to 409 --- back/lib/http_res | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/back/lib/http_res b/back/lib/http_res index 04470e4..63deec1 100755 --- a/back/lib/http_res +++ b/back/lib/http_res @@ -25,4 +25,5 @@ elif [ "${2}" == '' ] fi # Send response -printf "${status}${content_type}Date: $(date)\n\n${body}\n" +printf "${status}${content_type}Date: $(date)\n\n$(cat)\n" >>"${LOGFDILE}" +printf "${status}${content_type}Date: $(date)\n\n$(cat)\n"