From 78542781c67447f69af7a53df5b4ece731b17303 Mon Sep 17 00:00:00 2001 From: Albertas Gimbutas Date: Sat, 28 Aug 2021 02:47:53 +0300 Subject: [PATCH] Add section about permessage compression to README --- README.rst | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.rst b/README.rst index 7525b27..5b08d59 100644 --- a/README.rst +++ b/README.rst @@ -105,6 +105,20 @@ should start with a slash, but not end with one; for example:: daphne --root-path=/forum django_project.asgi:application +Permessage compression +---------------------- + +Daphne supports and by default accepts ``permessage-deflate`` compression +(`permessage-deflate specification `_). +Additional ``permessage-bzip2``, ``permessage-snappy`` compressions will be also enabled by default if +``bz2`` and `snappy `_ python packages are available in daphne environment. +The compression implementation is provided by +`Autobahn|Python `_ package, see: +`permessage-deflate `_, +`permessage-bzip2 `_, +`permessage-snappy `_. + + Python Support --------------