You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by gs...@apache.org on 2009/11/20 12:00:07 UTC
svn commit: r882498 - /qpid/trunk/qpid/python/qpid/messaging.py
Author: gsim
Date: Fri Nov 20 11:00:06 2009
New Revision: 882498
URL: http://svn.apache.org/viewvc?rev=882498&view=rev
Log:
Handle empty (rather than null) content type as sent by c++ client
Modified:
qpid/trunk/qpid/python/qpid/messaging.py
Modified: qpid/trunk/qpid/python/qpid/messaging.py
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/python/qpid/messaging.py?rev=882498&r1=882497&r2=882498&view=diff
==============================================================================
--- qpid/trunk/qpid/python/qpid/messaging.py (original)
+++ qpid/trunk/qpid/python/qpid/messaging.py Fri Nov 20 11:00:06 2009
@@ -725,6 +725,7 @@
"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)
}
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org