Skip to content
Snippets Groups Projects
Commit 2ca1fbdd authored by Bryan Tong Minh's avatar Bryan Tong Minh
Browse files

Sigh, more fixes for Content-Length

parent 42f69106
No related branches found
No related tags found
No related merge requests found
......@@ -93,8 +93,8 @@ class HTTPPersistentConnection(object):
try:
self._conn.request(method, path, headers = headers)
if issubclass(data.__class__, upload.Upload):
for str in data:
self._conn.send(str)
for s in data:
self._conn.send(s)
elif data:
self._conn.send(data)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment