Ticket #4804 (closed bug: invalid)
Safari XHR bug -- returns 404 when 401 on synchronous calls.
|Reported by:||sandro||Owned by:|
Synchronous XHR call to a resource which returns a HTTP response code of 401. Safari 4.0 (and I believe earlier versions, though untested) will report xmlhttpobject.status == 404.
This does *not* happen on asynchronous calls.
Safari also seems to destroy *all* response headers (getAllResponseHeaders() is empty).
Notable: Chrome does not suffer from this bug. The hope is that it has been fixed in webkit.