mirror of https://github.com/celery/kombu.git
msgpack content-encoding must be 'binary' not 'utf-8'
This commit is contained in:
parent
4ee6495431
commit
586faacdf9
|
@ -246,7 +246,7 @@ def register_msgpack():
|
||||||
import msgpack
|
import msgpack
|
||||||
registry.register('msgpack', msgpack.packs, msgpack.unpacks,
|
registry.register('msgpack', msgpack.packs, msgpack.unpacks,
|
||||||
content_type='application/x-msgpack',
|
content_type='application/x-msgpack',
|
||||||
content_encoding='utf-8')
|
content_encoding='binary')
|
||||||
except ImportError:
|
except ImportError:
|
||||||
|
|
||||||
def not_available(*args, **kwargs):
|
def not_available(*args, **kwargs):
|
||||||
|
|
Loading…
Reference in New Issue