Hi,
We're implementing open social container (v0.8).
Currently we're working on the integration between our implementation
of RESTful server and JavaScript part.
We want to handle the JavaScript Ajax requests through our RESTful
Server.
IE is stuck ("not responding") when retrieving response with content-
type header set to "multipart/mixed" (Batching). In Firefox it works
fine. (We use XMLHttpRequest object)
Here is the JavaScript code:
var objRequest = new XMLHttpRequest();
objRequest.open("GET","http://exmaple.diffdoof.com/
restfulserver",true);
objRequest.onreadystatechange =
function()
{
if (objRequest.readyState == 4)
{
alert(objRequest.responseText);
}
}
objRequest.send("");
Here is the response (including the headers):
--------------------------------------------------------
HTTP/1.1 200 OK
Server: Microsoft-IIS/5.1
Date: Mon, 21 Jul 2008 18:04:56 GMT
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
Cache-Control: private
Content-Type: multiparts/mixed; boundary=batch-a73hdj3dy3mm347ddjjdf;
charset=utf-8
Content-Length: 139
-batch-a73hdj3dy3mm347ddjjdf
Content-Type: application/http;version=1.1
Content-Transfer-Encoding: binary
200 OK
this is the body
--------------------------------------------------------
Anyone faced this problam?
Cheers
Tamir Zaslavsky
DiffDoof
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Implementing OpenSocial Containers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/opensocial-container?hl=en
-~----------~----~----~----~------~----~------~--~---