begin 

  if (GetX mod 2 = 0) and (GetY mod 2 = 0) then
    begin
 ResultURL:=GetURLBase+inttostr(GetZ-2)+'/'+inttostr(GetX/2)+'/'+inttostr(GetY/2)+'.jpg';

RequestHead := ':authority: rgis.mosreg.ru' + #13#10
+ ':method: GET' + #13#10
+ ':path: app/map/tiles/m10/'+inttostr(GetZ-2)+'/'+inttostr(GetX/2)+'/'+inttostr(GetY/2)+'.png' + #13#10
+ ':scheme: https' + #13#10
+ 'accept: image/webp,image/apng,image/*,*/*;q=0.8' + #13#10
+ 'accept-encoding: gzip, deflate, br' + #13#10
+ 'accept-language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7,pt;q=0.6,uk;q=0.5,cs;q=0.4' + #13#10
+ 'cookie: session_username=RGIS_PUBLIC; session_id=192bf4e494c6f24f1769a07cf9cd2e44' + #13#10
+ 'dnt: 1' + #13#10
+ 'referer: https://rgis.mosreg.ru/app/map/?bbox=4215051,7539142,4231044,7547836' + #13#10
+ 'user-agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36' + #13#10
 end
end.


