You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@chemistry.apache.org by lm...@apache.org on 2018/07/29 16:43:26 UTC

svn commit: r1836982 - /chemistry/cmislib/branches/py3_compat/src/cmislib/browser/binding.py

Author: lmignon
Date: Sun Jul 29 16:43:25 2018
New Revision: 1836982

URL: http://svn.apache.org/viewvc?rev=1836982&view=rev
Log:
Fix getContentStream service. Close #CMIS-1049 

Modified:
    chemistry/cmislib/branches/py3_compat/src/cmislib/browser/binding.py

Modified: chemistry/cmislib/branches/py3_compat/src/cmislib/browser/binding.py
URL: http://svn.apache.org/viewvc/chemistry/cmislib/branches/py3_compat/src/cmislib/browser/binding.py?rev=1836982&r1=1836981&r2=1836982&view=diff
==============================================================================
--- chemistry/cmislib/branches/py3_compat/src/cmislib/browser/binding.py (original)
+++ chemistry/cmislib/branches/py3_compat/src/cmislib/browser/binding.py Sun Jul 29 16:43:25 2018
@@ -1925,7 +1925,7 @@ class BrowserDocument(BrowserCmisObject)
         if not self.getAllowableActions()['canGetContentStream']:
             return None
 
-        contentUrl = self._repository.getRootFolderUrl() + "?objectId=" + self.getObjectId() + "&selector=content"
+        contentUrl = self._repository.getRootFolderUrl() + "?objectId=" + self.getObjectId() + "&cmisselector=content"
         result, content = Rest().get(contentUrl.encode('utf-8'),
                                      self._cmisClient.username,
                                      self._cmisClient.password,