|
|
@ -27,7 +27,7 @@ class RequestHandler(threading.Thread):
|
|
|
|
response_binary = response_binary_len_binary + response_binary
|
|
|
|
response_binary = response_binary_len_binary + response_binary
|
|
|
|
self.client_socket.sendall(response_binary)
|
|
|
|
self.client_socket.sendall(response_binary)
|
|
|
|
print(f"[RESPONSE] test: {response['test']}, header size: {response_binary_len}")
|
|
|
|
print(f"[RESPONSE] test: {response['test']}, header size: {response_binary_len}")
|
|
|
|
if self.request_map['action'] == 'spider':
|
|
|
|
if self.request_map['action'] == 'crawler':
|
|
|
|
pass
|
|
|
|
pass
|
|
|
|
# TODO
|
|
|
|
# TODO
|
|
|
|
finally:
|
|
|
|
finally:
|
|
|
|