You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Where receipt is some deposit receipt from a previous deposit. The value or receipt.content is a string containing the response; this won't scale in the event that the content is a large binary object. Better if we can convert this into a file handle, either reading directly from the http stream, or from a temp file.
The text was updated successfully, but these errors were encountered:
[Migrated from https://bitbucket.org/richardjones/python-sword2/issue/6/retrieving-content-does-not-scale]
If you do:
resource = conn.get_resource(content_iri=receipt.cont_iri)
Where receipt is some deposit receipt from a previous deposit. The value or receipt.content is a string containing the response; this won't scale in the event that the content is a large binary object. Better if we can convert this into a file handle, either reading directly from the http stream, or from a temp file.
The text was updated successfully, but these errors were encountered: