# import socket
def service_client(new_socket):
# 为这个客户端返回数据,即http请求
# Get / HTTP/1.1
request = new_socket.recv(1024)
print(request)
# 2.返回http格式的数据,给浏览器
# 2.1准备发送给浏览器的数据
response = HTTP/1.1 200 OK\r\n;
response += \r\n;
# 2.2准备发送给浏览器的数据---body
response +=