mirror of
https://github.com/moparisthebest/curl
synced 2025-03-03 02:41:59 -05:00

--ignore-content-length / CURLOPT_IGNORE_CONTENT_LENGTH doesn't work with hyper. Closes #7184
14 lines
465 B
Makefile
14 lines
465 B
Makefile
Long: ignore-content-length
|
|
Help: Ignore the size of the remote resource
|
|
Protocols: FTP HTTP
|
|
Category: http ftp
|
|
---
|
|
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 if libcurl was built to use hyper for HTTP.
|