mirror of
https://github.com/python/cpython.git
synced 2025-11-02 19:12:55 +00:00
Remove lots of spaces within exception message.
This commit is contained in:
parent
e951e917c6
commit
6153604bc7
1 changed files with 2 additions and 2 deletions
|
|
@ -1057,8 +1057,8 @@ class AbstractHTTPHandler(BaseHandler):
|
||||||
mv = memoryview(data)
|
mv = memoryview(data)
|
||||||
except TypeError:
|
except TypeError:
|
||||||
if isinstance(data, collections.Iterable):
|
if isinstance(data, collections.Iterable):
|
||||||
raise ValueError("Content-Length should be specified \
|
raise ValueError("Content-Length should be specified "
|
||||||
for iterable data of type %r %r" % (type(data),
|
"for iterable data of type %r %r" % (type(data),
|
||||||
data))
|
data))
|
||||||
else:
|
else:
|
||||||
request.add_unredirected_header(
|
request.add_unredirected_header(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue