Message from discussion jsonp catching bad request response (400) and such?
Received: by 10.224.200.5 with SMTP id eu5mr71764qab.1.1309987358014;
Wed, 06 Jul 2011 14:22:38 -0700 (PDT)
Received: by 10.224.176.211 with SMTP id bf19ls314835qab.3.gmail; Wed, 06 Jul
2011 14:22:35 -0700 (PDT)
Received: by 10.224.168.81 with SMTP id t17mr6004qay.37.1309987355333; Wed, 06
Jul 2011 14:22:35 -0700 (PDT)
Received: by x10g2000vbl.googlegroups.com with HTTP; Wed, 6 Jul 2011 14:22:35
Date: Wed, 6 Jul 2011 14:22:35 -0700 (PDT)
X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_8; en-us)
AppleWebKit/533.21.1 (KHTML, like Gecko) Version/5.0.5 Safari/533.21.1,gzip(gfe)
Subject: jsonp catching bad request response (400) and such?
From: Rolf -nl <plentyofr...@gmail.com>
To: MooTools Users <firstname.lastname@example.org>
Content-Type: text/plain; charset=ISO-8859-1
Working with some api that can return a bad request code 400 error
with the error message as a response in json. Is there a way I can use
it? Because the response contains useful information about wrongly
used params? There's a failure event, but that works with the timeout
and I that's not really usable or the same.