Merge with 3.2.
This commit is contained in:
commit
83fad3e2ce
|
@ -777,8 +777,8 @@ class HTTPConnection:
|
||||||
for d in data:
|
for d in data:
|
||||||
self.sock.sendall(d)
|
self.sock.sendall(d)
|
||||||
else:
|
else:
|
||||||
raise TypeError("data should be a bytes-like object\
|
raise TypeError("data should be a bytes-like object "
|
||||||
or an iterable, got %r " % type(data))
|
"or an iterable, got %r" % type(data))
|
||||||
|
|
||||||
def _output(self, s):
|
def _output(self, s):
|
||||||
"""Add a line of output to the current request buffer.
|
"""Add a line of output to the current request buffer.
|
||||||
|
|
Loading…
Reference in New Issue