Read uploaded files in fixed-size chunks instead of a single file.read() to reduce peak memory pressure. Also enforces the size limit during streaming so oversized payloads are rejected before fully buffered. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| analysis_service.py | ||
| document_service.py | ||