commit | 1e991f2de5d705155e430400c8cbc24071e3df72 | [log] [tgz] |
---|---|---|
author | Senthil Kumaran <orsenthil@gmail.com> | Fri Dec 24 04:03:59 2010 +0000 |
committer | Senthil Kumaran <orsenthil@gmail.com> | Fri Dec 24 04:03:59 2010 +0000 |
tree | cffd3e0dd6afbc94bded88a2fe22ce4407e366b9 | |
parent | c44befb82e747ab40ff32a97c50ea16f3ffb07dc [diff] |
Fix some mistakes- Issue3243 (r87399) Correcting the operator precendence problem with Content-Length header and uncommenting the test.
diff --git a/Lib/http/client.py b/Lib/http/client.py index 8d62aa5..bb9fa9b 100644 --- a/Lib/http/client.py +++ b/Lib/http/client.py
@@ -775,7 +775,7 @@ for d in data: self.sock.sendall(d) else: - raise TypeError("data should be byte-like object\ + raise TypeError("data should be a bytes-like object\ or an iterable, got %r " % type(it)) def _output(self, s):