Hello,

With qooxdoo 0.7.2, I am making a cross-domain request to a local server :

      // get all entries from bookends for the years
      for ( var year = yearStart; year <= yearEnd; year++)
      {
        var beReq = new qx.io.remote.Request( beExpUrl+year, 
qx.net.Http.METHOD_GET, qx.util.Mime.TEXT );
        beReq.setCrossDomain(true);
        beReq.addEventListener("completed",function(event){
          console.log("Response for " + year);
          console.dir(event);
        });
        beReq.send();
      }


The server returns HTML that is not xml-compliant:

<HTML><HEAD>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
</HEAD><BODY><h3>No matches were found.</h3></BODY></HTML>

Even though I specified that the response Mime-Type should is 
qx.util.Mime.TEXT, 
the faulty HTML breaks the response: 

XML tag name mismatch (expected meta)
http://localhost:2001/$BEGet?DB=Database1&Format=BibTexShort&Query=2001&_ScriptTransport_id=12&nocache=1202059026091
Line 1

I thus see that script transport is used. Is there something I can do?

Thanks,

Christian  



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to