forked from pool/python-kombu
20af303231
Kombu 3 consumers will no longer accept pickle/yaml or msgpack by default, and you will have to explicitly enable untrusted deserializers either globally using kombu.enable_insecure_serializers, or using the accept argument to kombu.Consumer. - New utility function to disable/enable untrusted serializers. - kombu.disable_insecure_serializers - kombu.enable_insecure_serializers - Consumer: `accept` can now be used to specify a whitelist of content types to accept. If the accept whitelist is set and a message is received with a content type that is not in the whitelist then a :exc:`~kombu.exceptions.ContentDisallowed` exception is raised. Note that this error can be handled by the already existing `on_decode_error` callback Examples: Consumer(accept=['application/json']) Consumer(accept=['pickle', 'json']) - Now depends on amqp 1.0.11 - pidbox: Mailbox now supports the `accept` argument. - Redis: More friendly error for when keys are missing. - Connection URLs: The parser did not work well when there were multiple '+' tokens. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=76 |
||
---|---|---|
.gitattributes | ||
.gitignore | ||
kombu-2.5.10.tar.gz | ||
python3-kombu.changes | ||
python3-kombu.spec | ||
python-kombu.changes | ||
python-kombu.spec |