Comment 4 for bug 113993

Revision history for this message
Aaron Bentley (abentley) wrote : Re: Librarian files uploaded with addFile() can not be read from the librarian til the transaction is committed

The suggested approaches don't involve retrieving the file from a public-facing port, so the rationale for setting this bug to "won't fix" doesn't apply.

"The proposed solution to this problem is to add another method usable from the backend librarian port (which is not exposed to the internet) to download the content for a given content ID, without the librarian checking for its presence in the database."

"it looks like it'd be easier to add a second backend port served by another twisted.web class, rather than trying to rejig the upload protocol to handle a download verb too."