datafinder-team team mailing list archive
-
datafinder-team team
-
Mailing list archive
-
Message #00207
[Bug 854678] [NEW] uploadContent string conversion missing
Public bug reported:
In file WebdavClient.py, function uploadContent, a string conversion of
header["Content-length"] is necessary.
current trunk, line 328f:
if not content is None:
header["Content-length"] = len(content)
else:
header["Content-length"] = 0
proposed patch:
if not content is None:
header["Content-length"] = str(len(content))
else:
header["Content-length"] = '0'
** Affects: python-webdav-lib
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of
DataFinderTeam, which is the registrant for Python WebDAV Library.
https://bugs.launchpad.net/bugs/854678
Title:
uploadContent string conversion missing
Status in Python client-side WebDAV Library:
New
Bug description:
In file WebdavClient.py, function uploadContent, a string conversion
of header["Content-length"] is necessary.
current trunk, line 328f:
if not content is None:
header["Content-length"] = len(content)
else:
header["Content-length"] = 0
proposed patch:
if not content is None:
header["Content-length"] = str(len(content))
else:
header["Content-length"] = '0'
To manage notifications about this bug go to:
https://bugs.launchpad.net/python-webdav-lib/+bug/854678/+subscriptions
Follow ups
References