#3243 follow-up: remove debugging print and fix docs; data is a bytes object.

This commit is contained in:
Georg Brandl 2010-12-19 12:33:52 +00:00
parent 7bc0d872dd
commit 09a7df8301
3 changed files with 2 additions and 3 deletions

View file

@ -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),