Hi, I've never had this problem with prototype before. I'm querying a twisted python web service that I wrote with a simple GET request, returning json, but for some reason the responseText always seems to be ".
function make_request() { debug("in make_request with url " + url); new Ajax.Request(url, { method: "get", onSuccess: function(transport) { debug("query successful"); debug("response was '" + transport.responseText + "'"); }, onFailure: function(transport) { debug("query failed"); } }); } In the browser I end up seeing * in make_request with url http://localhost:8000/route/?start=sta-917&end=sta-10715&starttime=1274469161 * query successful * response was '' And yet if I capture the traffic, the response looks fine. OPTIONS /route/?start=sta-917&end=sta-10715&starttime=1274469161 HTTP/ 1.1 Host: localhost:8000 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.4) Gecko/ 20091206 Gentoo Firefox/3.5.4 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/ *;q=0.8 Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 300 Connection: keep-alive Origin: null Access-Control-Request-Method: GET Access-Control-Request-Headers: x-prototype-version,x-requested-with HTTP/1.1 200 OK Content-Length: 65 Content-Type: application/json {"status": "defer", "reason": "No workers ready, try again soon"} So why am I not seeing it in transport.responseText ? Thanks, Mike -- You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptacul...@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.