We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 34f963f commit 62bfa40Copy full SHA for 62bfa40
python-schema-match/app-test.py
@@ -127,7 +127,7 @@ def handle_request(client_socket):
127
else:
128
body = json.dumps(body_data)
129
130
- response = f"HTTP/1.0 200 OK\r\nContent-Type: application/json\r\nContent-Length: {len(body)}\r\n\r\n{body}"
+ response = f"HTTP/1.0 200 OK\r\nContent-Type: application/json\r\nContent-Length: {len(body)}\r\nConnection: close\r\n\r\n{body}"
131
client_socket.sendall(response.encode('utf-8'))
132
133
except Exception as e:
0 commit comments