1*6236dae4SAndroid Build Coastguard Worker--- 2*6236dae4SAndroid Build Coastguard Workerc: Copyright (C) Daniel Stenberg, <[email protected]>, et al. 3*6236dae4SAndroid Build Coastguard WorkerSPDX-License-Identifier: curl 4*6236dae4SAndroid Build Coastguard WorkerLong: ignore-content-length 5*6236dae4SAndroid Build Coastguard WorkerHelp: Ignore the size of the remote resource 6*6236dae4SAndroid Build Coastguard WorkerProtocols: FTP HTTP 7*6236dae4SAndroid Build Coastguard WorkerCategory: http ftp 8*6236dae4SAndroid Build Coastguard WorkerAdded: 7.14.1 9*6236dae4SAndroid Build Coastguard WorkerMulti: boolean 10*6236dae4SAndroid Build Coastguard WorkerSee-also: 11*6236dae4SAndroid Build Coastguard Worker - ftp-skip-pasv-ip 12*6236dae4SAndroid Build Coastguard WorkerExample: 13*6236dae4SAndroid Build Coastguard Worker - --ignore-content-length $URL 14*6236dae4SAndroid Build Coastguard Worker--- 15*6236dae4SAndroid Build Coastguard Worker 16*6236dae4SAndroid Build Coastguard Worker# `--ignore-content-length` 17*6236dae4SAndroid Build Coastguard Worker 18*6236dae4SAndroid Build Coastguard WorkerFor HTTP, Ignore the Content-Length header. This is particularly useful for 19*6236dae4SAndroid Build Coastguard Workerservers running Apache 1.x, which reports incorrect Content-Length for 20*6236dae4SAndroid Build Coastguard Workerfiles larger than 2 gigabytes. 21*6236dae4SAndroid Build Coastguard Worker 22*6236dae4SAndroid Build Coastguard WorkerFor FTP, this makes curl skip the SIZE command to figure out the size before 23*6236dae4SAndroid Build Coastguard Workerdownloading a file (added in 7.46.0). 24*6236dae4SAndroid Build Coastguard Worker 25*6236dae4SAndroid Build Coastguard WorkerThis option does not work for HTTP if libcurl was built to use hyper. 26