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 ?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login