Ok, problem comes from secure option in JSON.decode with secure at true. But I don't understand why it's a problem ...
On 6 jan, 12:55, Grummfy <[email protected]> wrote: > Hello, > I have a problem with a Request.Json call : > I call some Request one after one (called in complete event) : > The response is strange : > I have this event : failure, failure, failure, failure, failure, ... > But all response have a status 200 OK, all response are good and > complete. > > Tested on Google Chrome 8.0.552.224 and Mozilla Firefox 3.6.13 with > firebug 1.6.1. > > My call : > var request = new Request.JSON( > { > method: 'GET', > onComplete: callbacks['complete'], > onSuccess: callbacks['success'], > onFailure: callbacks['failure'], > onException: callbacks['exception'], > url: url}); > > request.send(); > > callbacks is an array with functions, with console.log('name of > event'); and callbacks['complete'] rebuild a new request object
