mirror of
https://github.com/curl/curl.git
synced 2026-07-31 07:38:04 +03:00
Jaz Fresh pointed out that if you used "-r [number]" as was wrongly described
in the man page, curl would send an invalid HTTP Range: header. The correct way would be to use "-r [number]-" or even "-r -[number]". Starting now, curl will warn if this is discovered, and automatically append a dash to the range before passing it to libcurl.
This commit is contained in:
parent
33dc28b905
commit
9d152a77fd
4 changed files with 29 additions and 4 deletions
|
|
@ -770,7 +770,7 @@ specifies the second 500 bytes
|
|||
.B -500
|
||||
specifies the last 500 bytes
|
||||
.TP
|
||||
.B 9500
|
||||
.B 9500-
|
||||
specifies the bytes from offset 9500 and forward
|
||||
.TP
|
||||
.B 0-0,-1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue