Hello,

Have a strange problem. My eBay Auction Watch gadget works fine except
for UK users. It just stopped working suddenly. Was chugging along
happily for months before.

I've found the issue and it's related to a POST request using
_IG_FetchContent. Here's the code:

var headers2 = [[],[],[]];
var data = "v=" + _esc(var1) + "&v2=" + _esc(var2) + "&v3=" + _esc
(var3);

headers2[0][0] = "Content-Length";
headers2[0][1] = data.toString().length;
headers2[1][0] = "Content-Type";
headers2[1][1] = "application/x-www-form-urlencoded";
headers2[2][0] = "Accept-encoding";
headers2[2][1] = "gzip,deflate";

var header = {};

header["post_data"] = data;
header["headers"] = headers2;
_IG_FetchContent("http://www.auctionwatchgd.com/ig/jsonig.php";,
updateCallback, header, {refreshInterval: 0});

It always returns this (from Firebug):

throw 1; < don't be evil' >{ 'http://www.auctionwatchgd.com/ig/
jsonig.php' : { 'body': '', 'rc': 0 } }

This is returned NO MATTER WHAT. I tired everything. Even just plain
text in the script and NOTHING is every returned in the body of the
response. I even built a version pointing at a html file on
googlepages.com and that also returned blank. The server and script
are fine. Works in all other countries.

I'm pretty sure iGoogle is tossing out the response. Right before I
echo the json response I set the header to application/json. This
content type can be seen in the response header in Firebug, so I'm
sure the script is working.

Funny thing is I make another POST call via _IG_FetchXmlContent
(similar code) and that works fine.

Any ideas? Help!

Ty
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"iGoogle Developer Forum" 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/Google-Gadgets-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to