Skip to content

Commit

Permalink
Update accept_encoding=True documentation for Brotli
Browse files Browse the repository at this point in the history
  • Loading branch information
dilyanpalauzov committed Mar 29, 2021
1 parent 44ee4ad commit 2ef05ad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/urllib3/util/request.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 2ef05ad

Please sign in to comment.