From 15a4d7696fc2b627f84eff1eaa6dc834a710e362 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Sun, 9 Oct 2022 20:42:46 +0200 Subject: [PATCH] [docs] update 'adjust-extensions' explanation (#3031) --- docs/configuration.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/configuration.rst b/docs/configuration.rst index f7dddf05..a5d89d53 100644 --- a/docs/configuration.rst +++ b/docs/configuration.rst @@ -3095,9 +3095,13 @@ Type Default ``true`` Description - Check the file headers of ``jpg``, ``png``, and ``gif`` files + Check file headers of downloaded files and adjust their filename extensions if they do not match. + For example, this will change the filename extension (``{extension}``) + of a file called ``example.png`` from ``png`` to ``jpg`` when said file + contains JPEG/JFIF data. + downloader.http.headers -----------------------