summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorДилян Палаузов <dpa-github@aegee.org>2021-03-29 17:32:44 +0300
committerGitHub <noreply@github.com>2021-03-29 09:32:44 -0500
commit2ef05adfcf001c85f1f95ae3fa078d16190851b0 (patch)
treecf123a4cfa7fb5375284702bb1ecc5e1ce891cbd
parent44ee4ad281444ec0b0a0aeeb2c8bf423c15cbc20 (diff)
downloadurllib3-2ef05adfcf001c85f1f95ae3fa078d16190851b0.tar.gz
Update accept_encoding=True documentation for Brotli
-rw-r--r--src/urllib3/util/request.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/urllib3/util/request.py b/src/urllib3/util/request.py
index 64d40641..08c4f687 100644
--- a/src/urllib3/util/request.py
+++ b/src/urllib3/util/request.py
@@ -39,7 +39,8 @@ def make_headers(
:param accept_encoding:
Can be a boolean, list, or string.
- ``True`` translates to 'gzip,deflate'.
+ ``True`` translates to 'gzip,deflate'. If either the ``brotli`` or
+ ``brotlicffi`` package is installed 'gzip,deflate,br' is used instead.
List will get joined by comma.
String will be used as provided.