Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- data = "HTTP/1.1 200 OK\r\n\r\n"
- connectionSocket.send(data.encode(encoding='utf_8'))
- data = " < html > < head > < / head > < body > < h1 > Hello world! < / h1 > < / body > < / html >\r\n"
- connectionSocket.send(data.encode(encoding='utf_8'))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement