diff options
author | Daniel Stenberg <daniel@haxx.se> | 2015-12-24 23:35:54 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2015-12-24 23:35:54 +0100 |
commit | 90c2d215d7f8231c9160f5571ac40566457264ae (patch) | |
tree | a19fc035261442e75b0e1a8104323025b9eb27e9 /docs | |
parent | 8fb8e16ea4bd3efcbd943f04c35ccb3bb0df14f3 (diff) |
CURLOPT_RANGE: for HTTP servers, range support is optional
Diffstat (limited to 'docs')
-rw-r--r-- | docs/libcurl/opts/CURLOPT_RANGE.3 | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/docs/libcurl/opts/CURLOPT_RANGE.3 b/docs/libcurl/opts/CURLOPT_RANGE.3 index f5dd555ce..39dee9e42 100644 --- a/docs/libcurl/opts/CURLOPT_RANGE.3 +++ b/docs/libcurl/opts/CURLOPT_RANGE.3 @@ -5,7 +5,7 @@ .\" * | (__| |_| | _ <| |___ .\" * \___|\___/|_| \_\_____| .\" * -.\" * Copyright (C) 1998 - 2014, Daniel Stenberg, <daniel@haxx.se>, et al. +.\" * Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al. .\" * .\" * This software is licensed as described in the file COPYING, which .\" * you should have received as part of this distribution. The terms @@ -35,9 +35,13 @@ out and X and Y are byte indexes. HTTP transfers also support several intervals, separated with commas as in \fI"X-Y,N-M"\fP. Using this kind of multiple intervals will cause the HTTP server to send the response document in pieces (using standard MIME separation -techniques). For RTSP, the formatting of a range should follow RFC2326 Section -12.29. For RTSP, byte ranges are \fBnot\fP permitted. Instead, ranges should -be given in npt, utc, or smpte formats. +techniques). Unfortunately, the HTTP standard (RFC 7233 section 3.1) allows +servers to ignore range requests so even when you set \fICURLOPT_RANGE\fP for +a request, you may end up getting the full response sent back. + +For RTSP, the formatting of a range should follow RFC2326 Section 12.29. For +RTSP, byte ranges are \fBnot\fP permitted. Instead, ranges should be given in +npt, utc, or smpte formats. Pass a NULL to this option to disable the use of ranges. .SH DEFAULT |