Compare commits
No commits in common. "ecfdb9d7a5bf175fcb454578f69eaa19abd55590" and "ebd866659e4e1215bdda0675b407441c20e0dc8a" have entirely different histories.
ecfdb9d7a5
...
ebd866659e
1 changed files with 0 additions and 4 deletions
|
@ -17,7 +17,6 @@ import os
|
|||
import sys
|
||||
import time
|
||||
import socket
|
||||
import json
|
||||
import jinja2
|
||||
import paramiko
|
||||
import threading
|
||||
|
@ -241,9 +240,6 @@ def http_talker(client, valdict, proto="http"):
|
|||
valdict.update({"proto": proto})
|
||||
log(j2format(j2log, valdict))
|
||||
response_body_raw = j2format(j2send, valdict)+"\n"
|
||||
if request_lines[0].split()[1] == "/raw":
|
||||
json_content = json.loads(response_body_raw)
|
||||
response_body_raw = json_content['ip']
|
||||
response_headers_raw = """HTTP/1.1 200 OK
|
||||
Content-Length: %s
|
||||
Content-Type: application/json; encoding=utf8
|
||||
|
|
Loading…
Reference in a new issue