From eebc0cb6963d6bbc77e87e4eae9c3a8d919e25a2 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 5 Sep 2017 20:26:51 +0000 Subject: [PATCH] Fixed HTTP logging --- checkmyip.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/checkmyip.py b/checkmyip.py index a972258..3432fb1 100755 --- a/checkmyip.py +++ b/checkmyip.py @@ -207,8 +207,8 @@ def http_talker(client, valdict, proto="http"): telnet_talker(client, valdict, "http-telnet") # Hand to telnet_talker else: # If client is a browser # Proceed with standard HTTP response (with headers) - log(j2format(j2log, valdict)) valdict.update({"proto": proto}) + log(j2format(j2log, valdict)) response_body_raw = j2format(j2send, valdict) response_headers_raw = """HTTP/1.1 200 OK Content-Length: %s