diff options
| author | Rafael H. Schloming <rhs@apache.org> | 2009-12-01 15:44:38 +0000 |
|---|---|---|
| committer | Rafael H. Schloming <rhs@apache.org> | 2009-12-01 15:44:38 +0000 |
| commit | 6904c94023d040c914d4379fb42f0f350f2d88c9 (patch) | |
| tree | a7bcae333ad5f2d66ce57998073e84c2871c6916 /python | |
| parent | 5889e5364ebbb3a5c936b3dec527bba85f1ce565 (diff) | |
| download | qpid-python-6904c94023d040c914d4379fb42f0f350f2d88c9.tar.gz | |
workaround for ptol failures
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@885803 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python')
| -rw-r--r-- | python/qpid/messaging.py | 3 | ||||
| -rw-r--r-- | python/qpid/tests/messaging.py | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/python/qpid/messaging.py b/python/qpid/messaging.py index aa01d9ec8c..5dd8b22ee3 100644 --- a/python/qpid/messaging.py +++ b/python/qpid/messaging.py @@ -712,6 +712,9 @@ def codec(name): return encode, decode +# XXX: need to correctly parse the mime type and deal with +# content-encoding header + TYPE_MAPPINGS={ dict: "amqp/map", list: "amqp/list", diff --git a/python/qpid/tests/messaging.py b/python/qpid/tests/messaging.py index adaa46f73c..cbfbc5a56d 100644 --- a/python/qpid/tests/messaging.py +++ b/python/qpid/tests/messaging.py @@ -800,7 +800,7 @@ class MessageTests(Base): def testCreateUnicode(self): m = Message(u"unicode") assert m.content == u"unicode" - assert m.content_type == "text/plain; charset=utf8" + assert m.content_type == "text/plain" def testCreateMap(self): m = Message({}) |
