Fix header in --http-accept-gzip documentation

pull/1824/head
Richard Nias 2021-09-17 10:17:39 +02:00
parent 21f476588c
commit 6c96589244
4 changed files with 6 additions and 6 deletions

View File

@ -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``

View File

@ -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``

View File

@ -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

View File

@ -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" \