Advertisement
Guest User

Untitled

a guest
Sep 19th, 2019
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. data = "HTTP/1.1 200 OK\r\n\r\n"
  2. connectionSocket.send(data.encode(encoding='utf_8'))
  3. data = " < html > < head > < / head > < body > < h1 > Hello world! < / h1 > < / body > < / html >\r\n"
  4. connectionSocket.send(data.encode(encoding='utf_8'))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement