chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lmig...@apache.org
Subject svn commit: r1836982 - /chemistry/cmislib/branches/py3_compat/src/cmislib/browser/binding.py
Date Sun, 29 Jul 2018 16:43:26 GMT
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,



Mime
View raw message