Since "too old" versions are no longer included in the generated man page, this field is now mandatory so that it won't be forgotten and then not included in the documentation. Closes #7786
16 lines
517 B
Makefile
16 lines
517 B
Makefile
Long: ignore-content-length
|
|
Help: Ignore the size of the remote resource
|
|
Protocols: FTP HTTP
|
|
Category: http ftp
|
|
Example: --ignore-content-length $URL
|
|
Added: 7.14.1
|
|
---
|
|
For HTTP, Ignore the Content-Length header. This is particularly useful for
|
|
servers running Apache 1.x, which will report incorrect Content-Length for
|
|
files larger than 2 gigabytes.
|
|
|
|
For FTP (since 7.46.0), skip the RETR command to figure out the size before
|
|
downloading a file.
|
|
|
|
This option doesn't work for HTTP if libcurl was built to use hyper.
|