socket.sendall() giving error on lopy 4
-
def send_header(client, status_code=200, content_length=None ):
client.sendall("HTTP/1.0 {} OK\r\n".format(status_code))
client.sendall is always giving me error OSError: [Errno 113] ECONNABORTED
i don't know where is the problem there seem to be no problem with socket. in my case client is socket. it's been whole day i am struggling with this but no luck. Please guide
-
@aqi Can you use an https connection ? Can you show more code ?