Open HavendGithub opened 5 years ago
Problem: TypeError: a bytes-like object is required, not 'str'
Solve
http_response = b"""\ HTTP/1.1 200 OK Hello, World! """
python2 -> "Hello world" python3 -> b"Hello world"
Problem: TypeError: a bytes-like object is required, not 'str'
Solve