Open srtalbot opened 1 month ago
I think there's a lot we can re-use from this design doc: Design Doc 008: File upload for API and UI + content scanning
Proposed API endpoints and behaviour would need to be adjusted, but the content scanning architecture and research into large file streaming should mostly hold with the caveat that we'd just need to retest the response content streaming using Express.js.
We're able to do basic steaming with Express, working on sending it piece by piece.
We need additional definition on what a large text file is. When is it too large to use Base-64.
@srtalbot to add research on file uploads
@craigzour - updated the design document with some requirements for file attachment.
GC Notify provides a significant limitation to the file size.
We'll have to decide on how we approach file attachment.
Goal
Identity how we would handle large, non-text outputs like PDF, XLSX, CSV, Images, or Doc files.
Acceptance criteria:
Related