Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | flakes | Ask Solem | 2014-04-15 | 1 | -1/+1 |
| | |||||
* | don't convert decompressed data into utf-8 string | Adam Gaca | 2014-04-15 | 1 | -1/+1 |
| | |||||
* | Wording | Ask Solem | 2013-10-01 | 1 | -1/+1 |
| | |||||
* | Copyright 2012 is VMware, inc. | Ask Solem | 2012-11-22 | 1 | -3/+0 |
| | |||||
* | dict.keys is useless | Ask Solem | 2012-08-05 | 1 | -1/+1 |
| | |||||
* | Use single quotes | Ask Solem | 2012-06-15 | 1 | -4/+4 |
| | |||||
* | Handle binary bodies in compression. | Steeve Morin | 2012-02-08 | 1 | -2/+4 |
| | |||||
* | Updates copyright years to include 2012 | Ask Solem | 2012-01-06 | 1 | -1/+1 |
| | |||||
* | Adds __all__ to modules | Ask Solem | 2011-09-09 | 1 | -0/+3 |
| | |||||
* | 2.0-devel: No longer supports Python 2.4 | Ask Solem | 2011-09-07 | 1 | -0/+2 |
| | |||||
* | Update copyright headers to include 2011 | Ask Solem | 2011-01-31 | 1 | -1/+1 |
| | |||||
* | The bz2 module does not exist on Jython | Ask Solem | 2011-01-23 | 1 | -4/+8 |
| | |||||
* | Unit tests now passing on Python 3 | Ask Solem | 2010-12-03 | 1 | -6/+8 |
| | |||||
* | Improved reference documentation | Ask Solem | 2010-10-27 | 1 | -0/+38 |
| | |||||
* | Added support for automatic compression/decompression of messages. | Ask Solem | 2010-07-31 | 1 | -0/+35 |
This is done by adding the "compression" header to messages. Currently supported compression formats are: zlib and bzip2. Custom compression formats can be added using kombu.compression.register:: >>> compression.register(encoder, decoder, content_type, aliases={}) e.g.:: >>> compression.register(lambda x: x.encode("zlib"), ... lambda x: x.decode("zlib"), ... "application/x-zlib", ... aliases=["zlib", "gzip"]) To enable compression you use the ``compression`` argument to :meth:`Producer.publish`. When these messages are then consumed by kombu they will be automatically decompressed, other clients need to decompress them manually by looking at the ``compression`` header. Example using zlib compression: >>> producer.publish(message, serializer="json", compression="zlib") Example using bzip2 compression: >>> producer.publish(message, serializer="json", compression="bz2") |