I meant, a way to get the file-size when chunked transfer-encoding is used. I cannot imagine any, and I don't think requests has some magic way to calculate it (or more likely STOP after downloading n bytes).
Maybe `stream=True` and `.read(5 * 1024 * 1024)` and check EOF, if not, abort.
Maybe `stream=True` and `.read(5 * 1024 * 1024)` and check EOF, if not, abort.