Hi all, can someone tell me why the read() function in the following py3 code returns b''?
>>> h = http.client.HTTPConnection("www.twitter.com") >>> h.connect() >>> h.request("HEAD", "/", "HTTP 1.0") >>> r = h.getresponse() >>> r.read() b'' Thanks, Mattia -- http://mail.python.org/mailman/listinfo/python-list