You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
So I'm calling API that is hosted on Azure.
When my site is down, Azure returns 403 with ReasonPhrase "Site Disabled".
This works for Android but for iOS I have ReasonPhrase "Forbidden" which is generic and doesn't allow me to react properly in the app.
This also works on iOS if I use .NET HttpClient instead of ModernHttpClient.
I suspect that this is NSURLSession issue, not ModerHttpClient`s.
Do you know any workaround for this issue?
Do you know if I can get raw (xml) servers response to see what's there and manually handle such situation?
Thanks,
B.
The text was updated successfully, but these errors were encountered:
Hi,
So I'm calling API that is hosted on Azure.
When my site is down, Azure returns 403 with ReasonPhrase "Site Disabled".
This works for Android but for iOS I have ReasonPhrase "Forbidden" which is generic and doesn't allow me to react properly in the app.
This also works on iOS if I use .NET HttpClient instead of ModernHttpClient.
I suspect that this is NSURLSession issue, not ModerHttpClient`s.
Do you know any workaround for this issue?
Do you know if I can get raw (xml) servers response to see what's there and manually handle such situation?
Thanks,
B.
The text was updated successfully, but these errors were encountered: