From 2fedb4a4b67f7856bbfc5d1508524ef9c3d85942 Mon Sep 17 00:00:00 2001 From: jsdelfino Date: Wed, 29 Dec 2010 07:24:32 +0000 Subject: Remove type=feed and type=entry parameters from application/atom+xml media types as they make IE 6's XMLHttpRequest hang. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1053559 13f79535-47bb-0310-9956-ffa450edef68 --- sca-cpp/trunk/modules/wsgi/composite.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sca-cpp/trunk/modules/wsgi/composite.py') diff --git a/sca-cpp/trunk/modules/wsgi/composite.py b/sca-cpp/trunk/modules/wsgi/composite.py index ffd971fef5..9dbc2c911a 100755 --- a/sca-cpp/trunk/modules/wsgi/composite.py +++ b/sca-cpp/trunk/modules/wsgi/composite.py @@ -184,8 +184,8 @@ def application(e, r): # Write an ATOM feed or entry if isString(car(v)) and isString(cadr(v)): if isNil(id): - return result(e, r, 200, (("Content-type", "application/atom+xml;type=feed"),), writeATOMFeed(feedValuesToElements(v))) - return result(e, r, 200, (("Content-type", "application/atom+xml;type=entry"),), writeATOMEntry(entryValuesToElements(v))) + return result(e, r, 200, (("Content-type", "application/atom+xml"),), writeATOMFeed(feedValuesToElements(v))) + return result(e, r, 200, (("Content-type", "application/atom+xml"),), writeATOMEntry(entryValuesToElements(v))) # Write a JSON value return result(e, r, 200, (("Content-type", "application/json"),), writeJSON(valuesToElements(v))) -- cgit v1.2.3