diff options
Diffstat (limited to 'netlib/http')
| -rw-r--r-- | netlib/http/message.py | 2 | ||||
| -rw-r--r-- | netlib/http/request.py | 2 | 
2 files changed, 2 insertions, 2 deletions
diff --git a/netlib/http/message.py b/netlib/http/message.py index be35b8d1..ce92bab1 100644 --- a/netlib/http/message.py +++ b/netlib/http/message.py @@ -248,7 +248,7 @@ class Message(basetypes.Serializable):      def encode(self, e):          """ -        Encodes body with the encoding e, where e is "gzip", "deflate" or "identity". +        Encodes body with the encoding e, where e is "gzip", "deflate", "identity", or "br".          Any existing content-encodings are overwritten,          the content is not decoded beforehand. diff --git a/netlib/http/request.py b/netlib/http/request.py index 061217a3..d59fead4 100644 --- a/netlib/http/request.py +++ b/netlib/http/request.py @@ -337,7 +337,7 @@ class Request(message.Message):              self.headers["accept-encoding"] = (                  ', '.join(                      e -                    for e in {"gzip", "identity", "deflate"} +                    for e in {"gzip", "identity", "deflate", "br"}                      if e in accept_encoding                  )              )  | 
