msgpack content-encoding must be 'binary' not 'utf-8'

This commit is contained in:
Ask Solem 2010-11-25 16:13:40 +01:00
parent 4ee6495431
commit 586faacdf9
1 changed files with 1 additions and 1 deletions

View File

@ -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):