From 13e2f5a85841fe48f0c95afd85b201f01bfaa139 Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Fri, 20 Nov 2009 11:00:06 +0000 Subject: 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 --- python/qpid/messaging.py | 1 + 1 file changed, 1 insertion(+) (limited to 'python') 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) } -- cgit v1.2.1