Bug 2552: raise the error sent by the server if error code is not 404