Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
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)
X-BeenThere: mootools-users@googlegroups.com
Received: by 10.224.176.211 with SMTP id bf19ls314835qab.3.gmail; Wed, 06 Jul
 2011 14:22:35 -0700 (PDT)
MIME-Version: 1.0
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
 -0700 (PDT)
Date: Wed, 6 Jul 2011 14:22:35 -0700 (PDT)
User-Agent: G2/1.0
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)
Message-ID: <1f0500af-5999-4294-8dbe-7fc522ff2bb1@x10g2000vbl.googlegroups.com>
Subject: jsonp catching bad request response (400) and such?
From: Rolf -nl <plentyofr...@gmail.com>
To: MooTools Users <mootools-users@googlegroups.com>
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.