aboutsummaryrefslogtreecommitdiffstats
path: root/netlib/http/message.py
diff options
context:
space:
mode:
authorAngelo Agatino Nicolosi <angelonicolosi@yanchware.com>2016-07-30 14:43:53 +0200
committerAngelo Agatino Nicolosi <angelonicolosi@yanchware.com>2016-07-30 14:43:53 +0200
commit6792ec40587bde8dbd7fac67c35038afc126e80b (patch)
tree42ab1028380897a835bcf7e07eadd4e2a60b9a14 /netlib/http/message.py
parent63f64cd66086f302f53456f29f60b1e28c8ee178 (diff)
downloadmitmproxy-6792ec40587bde8dbd7fac67c35038afc126e80b.tar.gz
mitmproxy-6792ec40587bde8dbd7fac67c35038afc126e80b.tar.bz2
mitmproxy-6792ec40587bde8dbd7fac67c35038afc126e80b.zip
Integrated encode/decoder for brotli
Diffstat (limited to 'netlib/http/message.py')
-rw-r--r--netlib/http/message.py2
1 files changed, 1 insertions, 1 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.