← Back to team overview

datafinder-team team mailing list archive

[Bug 854678] Re: uploadContent string conversion missing

 

** Branch linked: lp:python-webdav-lib

-- 
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:
  Fix Committed

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


References