FFImageLoading icon indicating copy to clipboard operation
FFImageLoading copied to clipboard

How to see what the `FFImageLoading.Exceptions.DownloadException: Invalid response content type (text/html)` is?

Open tdbe opened this issue 5 years ago • 0 comments

I am getting this exception and I can't figure out why. It's seemingly happening randomly for random image files. So probably a server issue, but what is it that the server is responding with?

Is there a way to see FFImage partially downloaded data as text/html or just generally what the server has responded with?

I've subscribed to all these events but none of them tell me what the response was:

targetFFImage.Success += CachedImage_Success; targetFFImage.Finish += CachedImage_Finish; targetFFImage.Error += CachedImage_Error; targetFFImage.DownloadStarted += CachedImage_DownloadStarted; targetFFImage.DownloadProgress += CachedImage_DownloadProgress;

If one of these is supposed to return the server's text/html response and I'm not seeing it, then I guess the server must be responding with nothing "". Can I somehow verify that?

tdbe avatar Nov 27 '20 13:11 tdbe