Ticket Created
over 5 years ago

WERETECH-8758

Wrong response code when using makeImageRequest

Hi,

I'm using the makeImageRequest to request some image.

Sometimes, the server returns a 401 status code but the value of the response code in the callback is 404.

As long as there is this problem, I don't know how to differentiate errors.

Please note that in spite of a very close signature, there is no problem with the markeWebRequest method.

Best regards,

Parents
  • Thank you for taking the time to fill in those details. The behavior between devices and the simulator should be the same. When using a device, image responses are pre-processed so that the resulting image can be efficiently loaded and displayed by the target device. This functionality may make it a little more difficult for us to provide the actual response code to the calling app.
Comment
  • Thank you for taking the time to fill in those details. The behavior between devices and the simulator should be the same. When using a device, image responses are pre-processed so that the resulting image can be efficiently loaded and displayed by the target device. This functionality may make it a little more difficult for us to provide the actual response code to the calling app.
Children
No Data