| Author | DaveJarvis <email> |
|---|---|
| Date | 2023-11-10 18:50:35 GMT-0800 |
| Commit | 5b63574ec3b502bfc033d35874b9bc04dd19d94f |
| Parent | 520aae8 |
| header( 'Accept-Ranges: bytes' ); | ||
| header( "Content-Range: bytes $range_bytes" ); | ||
| + header( 'Content-Length: ' . ($seek_end - $seek_start + 1) ); | ||
| header( 'Content-Transfer-Encoding: binary' ); | ||
| header( 'Content-Description: File Transfer' ); | ||
| header( "Content-Disposition: attachment; filename='$filename'" ); | ||
| - header( 'Content-Length: ' . ($seek_end - $seek_start + 1) ); | ||
| // If the file doesn't exist, don't count it as a download. |
| Delta | 1 line added, 1 line removed |
|---|