Just discovered a strange bug in Firebug 1.7.1b1. It goes a little something like this:
Make an XHR request (in this case a POST) to a service (in this case a Spring authentication URL) that redirects to some other URL which itself provides a JSON body indicating success or failure of login.
So again, super simple:
- POST to URL A. This responds with a 302 to URL B.
- Browser auto-GETs URL B, which contains a JSON content body.
What Firebug sees, however, is this:
- POST to URL A. This responds with a 302 to URL B, but also appears to return a JSON body.
- Browser auto-GETs URL B, which appears to have no body at all.
And here’s what it looks like:

I wonder why it’s mixing the responses like this… has anyone else seen this?