[ https://issues.apache.org/jira/browse/CMIS-883?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14283977#comment-14283977 ]
Ron Gavlin commented on CMIS-883: --------------------------------- Your suggestion of returning a 0 bytes document while generation takes place for specific rendition kinds sounds like a reasonable, interim solution. I'll also investigate raising this issue on the CMIS specification mailing list. > Asynchronous Rendition Retrieval > -------------------------------- > > Key: CMIS-883 > URL: https://issues.apache.org/jira/browse/CMIS-883 > Project: Chemistry > Issue Type: Improvement > Components: opencmis-server > Affects Versions: OpenCMIS 0.12.0 > Reporter: Ron Gavlin > > Assume a CMIS client wants retrieve a high-fidelity PDF rendition of a large, > volatile Word document with minimal idle time. In this case, a standardized > mechanism may bey needed to inform the client that the rendition is 'not yet > ready'. This scenario might occur, for example, when the client is > interfacing with a Linux-based CMIS server that forwards Word-to-PDF > conversion requests to a remote Windows server. Here, the rendition > generation may take some time to complete. > Would it make sense to send a standard '202 - Accepted' response code to the > client to indicate this 'rendition is not-yet-ready' condition? Once the > rendition becomes available, the rendition retrieval would return a standard > 200 success response. Do you have other ideas about how this use case might > be supported in a standard way across CMIS servers? -- This message was sent by Atlassian JIRA (v6.3.4#6332)