diff options
author | Gordon Sim <gsim@apache.org> | 2009-11-20 11:00:06 +0000 |
---|---|---|
committer | Gordon Sim <gsim@apache.org> | 2009-11-20 11:00:06 +0000 |
commit | 13e2f5a85841fe48f0c95afd85b201f01bfaa139 (patch) | |
tree | 2828007757fc7078e270c7b0c0fbbe8938c524df /python/qpid/messaging.py | |
parent | 9cbd156b85b3dc247e4664a70a989d509d78a261 (diff) | |
download | qpid-python-13e2f5a85841fe48f0c95afd85b201f01bfaa139.tar.gz |
Handle empty (rather than null) content type as sent by c++ client
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@882498 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python/qpid/messaging.py')
-rw-r--r-- | python/qpid/messaging.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/python/qpid/messaging.py b/python/qpid/messaging.py index 703a958425..c351f0d584 100644 --- a/python/qpid/messaging.py +++ b/python/qpid/messaging.py @@ -725,6 +725,7 @@ TYPE_CODEC={ "amqp/map": codec("map"), "amqp/list": codec("list"), "text/plain; charset=utf8": (lambda x: x.encode("utf8"), lambda x: x.decode("utf8")), + "": (lambda x: x, lambda x: x), None: (lambda x: x, lambda x: x) } |