mirror of https://github.com/aria2/aria2
Fix header in --http-accept-gzip documentation
parent
21f476588c
commit
6c96589244
|
@ -433,7 +433,7 @@ HTTP Specific Options
|
|||
|
||||
.. option:: --http-accept-gzip [true|false]
|
||||
|
||||
Send ``Accept: deflate, gzip`` request header and inflate response if
|
||||
Send ``Accept-Encoding: deflate, gzip`` request header and inflate response if
|
||||
remote server responds with ``Content-Encoding: gzip`` or
|
||||
``Content-Encoding: deflate``. Default: ``false``
|
||||
|
||||
|
|
|
@ -407,7 +407,7 @@ Opções Específicas de HTTP e HTTPS
|
|||
|
||||
.. option:: --http-accept-gzip [true|false]
|
||||
|
||||
Envia cabeçalho requisição ``Accept: deflate, gzip`` e faz (inflate) se
|
||||
Envia cabeçalho requisição ``Accept-Encoding: deflate, gzip`` e faz (inflate) se
|
||||
o servidor remoto responder com ``Content-Encoding: gzip`` ou
|
||||
``Content-Encoding: deflate``. Padrão: ``false``
|
||||
|
||||
|
|
|
@ -451,7 +451,7 @@ HTTP(S)/FTP, они тут же могут выгружаться в BitTorrent-
|
|||
|
||||
.. option:: --http-accept-gzip [true|false]
|
||||
|
||||
Посылать ``Accept: deflate, gzip`` в запросе-заголовке и добавлять в ответ,
|
||||
Посылать ``Accept-Encoding: deflate, gzip`` в запросе-заголовке и добавлять в ответ,
|
||||
если удаленный сервер ответит ``Content-Encoding: gzip`` или
|
||||
``Content-Encoding: deflate``.
|
||||
По умолчанию: 'false
|
||||
|
|
|
@ -723,9 +723,9 @@
|
|||
#define TEXT_DHT_MESSAGE_TIMEOUT \
|
||||
_(" --dht-message-timeout=SEC Set timeout in seconds.")
|
||||
#define TEXT_HTTP_ACCEPT_GZIP \
|
||||
_(" --http-accept-gzip[=true|false] Send 'Accept: deflate, gzip' request header\n" \
|
||||
" and inflate response if remote server responds\n" \
|
||||
" with 'Content-Encoding: gzip' or\n" \
|
||||
_(" --http-accept-gzip[=true|false] Send 'Accept-Encoding: deflate, gzip' request\n" \
|
||||
" header and inflate response if remote server\n" \
|
||||
" responds with 'Content-Encoding: gzip' or\n" \
|
||||
" 'Content-Encoding: deflate'.")
|
||||
#define TEXT_SAVE_SESSION \
|
||||
_(" --save-session=FILE Save error/unfinished downloads to FILE on exit.\n" \
|
||||
|
|
Loading…
Reference in New Issue