@@ -334,29 +334,30 @@ HTTP/FTP/SFTP Options
334334
335335.. option :: --stream-piece-selector= <SELECTOR >
336336
337- Specify piece selection algorithm used in HTTP/FTP download. Piece
338- means fixed length segment which is downloaded in parallel in
339- segmented download. If ``default `` is given, aria2 selects piece so
340- that it reduces the number of establishing connection. This is
341- reasonable default behavior because establishing connection is an
342- expensive operation. If ``inorder `` is given, aria2 selects piece
343- which has minimum index. Index=0 means first of the file. This will
344- be useful to view movie while downloading it.
345- :option: `--enable-http-pipelining ` option may
346- be useful to reduce re-connection overhead. Please note that aria2
347- honors
348- :option: `--min-split-size <-k> ` option,
349- so it will be necessary to specify a reasonable value to
350- :option: `--min-split-size <-k> ` option.
351- If ``random `` is given, aria2 selects piece randomly. Like
352- ``inorder ``, :option: `--min-split-size <-k> ` option is honored.
353- If ``geom `` is given, at the beginning aria2 selects piece which has
354- minimum index like ``inorder ``, but it exponentially increasingly
355- keeps space from previously selected piece. This will reduce the
356- number of establishing connection and at the same time it will
357- download the beginning part of the file first. This will be useful
358- to view movie while downloading it.
359- Default: ``default ``
337+ Specify piece selection algorithm used in HTTP/FTP download. A piece is a
338+ fixed length segment which is downloaded in parallel in a segmented download.
339+ Default: ``default ``.
340+
341+ default
342+ Select a piece to reduce the number of connections established.
343+ This is reasonable default behavior because establishing a connection is an
344+ expensive operation.
345+ inorder
346+ Select a piece closest to the beginning of the file. This is useful for
347+ viewing movies while downloading. :option: `--enable-http-pipelining ` option
348+ may be useful to reduce re-connection overhead. Note that aria2 honors
349+ :option: `--min-split-size <-k> ` option, so it will be necessary to specify
350+ a reasonable value to :option: `--min-split-size <-k> ` option.
351+ random
352+ Select a piece randomly. Like ``inorder ``, :option: `--min-split-size <-k> `
353+ option is honored.
354+ geom
355+ When starting to download a file, select a piece closest to the beginning
356+ of the file like ``inorder ``, but then exponentially increases space
357+ between pieces.
358+ This reduces the number of connections established, while
359+ at the same time downloads the beginning part of the file first. This is
360+ useful for viewing movies while downloading.
360361
361362.. option :: -t , --timeout= <SEC >
362363
@@ -433,7 +434,7 @@ HTTP Specific Options
433434
434435.. option :: --http-accept-gzip [true|false]
435436
436- Send ``Accept: deflate, gzip `` request header and inflate response if
437+ Send ``Accept-Encoding : deflate, gzip `` request header and inflate response if
437438 remote server responds with ``Content-Encoding: gzip `` or
438439 ``Content-Encoding: deflate ``. Default: ``false ``
439440
@@ -500,7 +501,7 @@ HTTP Specific Options
500501
501502 Use the private key in FILE.
502503 The private key must be decrypted and in PEM format.
503- The behavior when encrypted one is given is undefined.
504+ An encrypted key may cause undefined behavior .
504505 See also :option: `--certificate ` option.
505506
506507.. option :: --referer= <REFERER >
@@ -522,8 +523,7 @@ HTTP Specific Options
522523
523524 .. note ::
524525
525- In performance perspective, there is usually no advantage to enable
526- this option.
526+ There is usually no performance gain from enabling this option.
527527
528528.. option :: --header= <HEADER >
529529
@@ -557,6 +557,10 @@ HTTP Specific Options
557557 Use HEAD method for the first request to the HTTP server.
558558 Default: ``false ``
559559
560+ .. option :: --no-want-digest-header [true|false]
561+
562+ Whether to disable Want-Digest header when doing requests.
563+ Default: ``false ``
560564
561565.. option :: -U , --user-agent= <USER_AGENT >
562566
@@ -742,7 +746,7 @@ BitTorrent Specific Options
742746
743747.. option :: --bt-metadata-only [true|false]
744748
745- Download meta data only. The file(s) described in meta data will not
749+ Download metadata only. The file(s) described in metadata will not
746750 be downloaded. This option has effect only when BitTorrent Magnet
747751 URI is used. See also :option: `--bt-save-metadata ` option. Default: ``false ``
748752
@@ -792,11 +796,11 @@ BitTorrent Specific Options
792796
793797.. option :: --bt-save-metadata [true|false]
794798
795- Save meta data as ".torrent" file. This option has effect only when
799+ Save metadata as ".torrent" file. This option has effect only when
796800 BitTorrent Magnet URI is used. The file name is hex encoded info
797801 hash with suffix ".torrent". The directory to be saved is the same
798802 directory where download file is saved. If the same file already
799- exists, meta data is not saved. See also :option: `--bt-metadata-only `
803+ exists, metadata is not saved. See also :option: `--bt-metadata-only `
800804 option. Default: ``false ``
801805
802806.. option :: --bt-seed-unverified [true|false]
@@ -1136,9 +1140,9 @@ RPC Options
11361140
11371141.. option :: --rpc-save-upload-metadata [true|false]
11381142
1139- Save the uploaded torrent or metalink meta data in the directory
1143+ Save the uploaded torrent or metalink metadata in the directory
11401144 specified by :option: `--dir ` option. The file name consists of SHA-1
1141- hash hex string of meta data plus extension. For torrent, the
1145+ hash hex string of metadata plus extension. For torrent, the
11421146 extension is '.torrent'. For metalink, it is '.meta4'. If false is
11431147 given to this option, the downloads added by
11441148 :func: `aria2.addTorrent ` or :func: `aria2.addMetalink ` will not be
@@ -1359,7 +1363,7 @@ Advanced Options
13591363 your best choice. It allocates large(few GiB)
13601364 files almost instantly. Don't use ``falloc `` with
13611365 legacy file systems such as ext3 and FAT32 because it takes
1362- almost same time as ``prealloc `` and it blocks aria2
1366+ almost the same time as ``prealloc `` and it blocks aria2
13631367 entirely until allocation finishes. ``falloc `` may
13641368 not be available if your system doesn't have
13651369 :manpage: `posix_fallocate(3)` function.
@@ -1483,7 +1487,7 @@ Advanced Options
14831487.. option :: --multiple-interface= <INTERFACES >
14841488
14851489 Comma separated list of interfaces to bind sockets to. Requests will
1486- be splited among the interfaces to achieve link aggregation. You can
1490+ be split among the interfaces to achieve link aggregation. You can
14871491 specify interface name, IP address and hostname. If
14881492 :option: `--interface ` is used, this option will be ignored.
14891493 Possible Values: interface, IP address, hostname
@@ -1652,19 +1656,19 @@ Advanced Options
16521656 the file name.
16531657 Please note that downloads added by
16541658 :func: `aria2.addTorrent ` and :func: `aria2.addMetalink ` RPC method
1655- and whose meta data could not be saved as a file are not saved.
1659+ and whose metadata could not be saved as a file are not saved.
16561660 Downloads removed using :func: `aria2.remove ` and
16571661 :func: `aria2.forceRemove ` will not be saved. GID is also saved with
16581662 :option: `gid <--gid> `, but there are some restrictions, see below.
16591663
16601664 .. note ::
16611665
16621666 Normally, GID of the download itself is saved. But some downloads
1663- use meta data (e.g., BitTorrent and Metalink). In this case, there
1667+ use metadata (e.g., BitTorrent and Metalink). In this case, there
16641668 are some restrictions.
16651669
16661670 magnet URI, and followed by torrent download
1667- GID of BitTorrent meta data download is saved.
1671+ GID of BitTorrent metadata download is saved.
16681672 URI to torrent file, and followed by torrent download
16691673 GID of torrent file download is saved.
16701674 URI to metalink file, and followed by file downloads described in metalink file
@@ -4284,8 +4288,8 @@ Alternatively, if PEM files are supported, use a command like the following:
42844288
42854289 .. note ::
42864290
4287- The file specified in :option: `--private-key ` must be decrypted. The behavior when
4288- encrypted one is given is undefined.
4291+ The file specified in :option: `--private-key ` must be decrypted; an encrypted
4292+ key may cause undefined behavior .
42894293
42904294Verify SSL/TLS servers using given CA certificates
42914295^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
0 commit comments