mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
#3243 follow-up: remove debugging print and fix docs; data is a bytes object.
This commit is contained in:
parent
7bc0d872dd
commit
09a7df8301
3 changed files with 2 additions and 3 deletions
|
@ -1057,7 +1057,6 @@ class AbstractHTTPHandler(BaseHandler):
|
|||
try:
|
||||
mv = memoryview(data)
|
||||
except TypeError:
|
||||
print(data)
|
||||
if isinstance(data, collections.Iterable):
|
||||
raise ValueError("Content-Length should be specified \
|
||||
for iterable data of type %r %r" % (type(data),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue