In John Gordon writes:
> According to the documentation, these two sections of code should be
> equivalent:
> conn = httplib.HTTPSConnection(host)
> conn.putrequest("POST", url)
> conn.putheader("Proxy-Authorization", myProxy)
> conn.putheader("Content-Length", "%d" % len(body))
> con
According to the documentation, these two sections of code should be
equivalent:
conn = httplib.HTTPSConnection(host)
conn.putrequest("POST", url)
conn.putheader("Proxy-Authorization", myProxy)
conn.putheader("Content-Length", "%d" % len(body))
conn.endheaders()
conn.send(body)
vs