Unexpected content in HTTP response

I am trying to get the image from the link:

http://www.ims.gov.il/Ims/Map/MapRender.aspx?type=weather&LangId=1&Optional=c&Tab=Temperature

Sometimes this works, and at other times, instead of getting the image, I get this strange HTML:

<html><body><script>document.cookie='rrrrrrr=27b8c912rrrrrrr_27b8c912; path=/';window.location.href=window.location.href;</script></body></html>

What does this mean and how can I get around this to get an image?

I ran into this problem in my Android app that uses URLConnectionand played it in chrome using incognito mode and blocked javascript and cookies.

+4
source share
1 answer

cookie, . , :

  • , .
  • cookie URL.
+3

All Articles