On Sat, Feb 27, 2010 at 09:56, Jörg Sawatzki <[email protected]> wrote:

> Hi,
>
> I am trying to POST something to my server using qx.io.remote.Request.
> It might happen that the server returns 403 Forbidden if the user is not
> allowed to do that operation.
>
> If it fails with 403, the following happens: The completed event is
> fired and the alert(e.getStatusCode()) gives me 200 which is completely
> wrong. This only happens with POST, with GET it works as expected and
> the "failed" event is fired.
>
> Any idea?
>

Looking at the qx.io.remote.* code, I don't see how this can possibly
happen. Nothing does any conversion of that code. Have you checked with
Firebug to ensure that your server is *really* sending back a 403? My
suspicion is that contrary to what you think it's doing, the server is
actually sending a 200.

Derrell
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to