Re: FZ проблемы со скачиванием
#9
Код:
=======================================================================
=========================== Google Chrome 3 ===========================
=======================================================================
GET /fz/index.php?dir=.NEWs/&file=navisetup.exe HTTP/1.1
User-Agent: Opera/9.80 (Windows NT 5.1; U; ru) Presto/2.2.15 Version/10.00
Host: www.mcrf.ru
Accept: text/html, application/xml;q=0.9, application/xhtml+xml, image/png, image/jpeg, image/gif, image/x-xbitmap, */*;q=0.1
Accept-Language: ru-RU,ru;q=0.9,en;q=0.8
Accept-Charset: iso-8859-1, utf-8, utf-16, *;q=0.1
Accept-Encoding: deflate, gzip, x-gzip, identity, *;q=0
Referer: http://www.mcrf.ru/fz/index.php?dir=.NEWs/
Cookie: PHPSESSID=XXXXXXXXXXXXXXXXXXXXXXXX; bblastvisit=1255334151; bblastactivity=0; IDstack=%2C8353%2C; bbsessionhash=XXXXXXXXXXXXXXXXXXXXXXX; __utmz=122738967.1255334131.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=122738967.1826910361.1255334131.1255334131.1255334131.1; __utmc=122738967; __utmb=122738967.18.10.1255334131
Cookie2: $Version=1
Connection: Keep-Alive, TE
TE: deflate, gzip, chunked, identity, trailers
HTTP/1.1 200 OK
Date: Mon, 12 Oct 2009 08:01:04 GMT
Server: Apache/2
X-Powered-By: PHP/5.2.6
Expires: 0
X-UA-Compatible: IE=7
pragma: cache
cache-control: public, must-revalidate, max-age=0
accept-ranges: bytes
x-sent-by: PEAR::HTTP::Download
content-disposition: attachment; filename="navisetup.exe"
etag: "9344709b9ff0f85b9c3d4b428b8c6ca6-1308519114"
Last-Modified: Wed, 22 Apr 2009 20:20:57 GMT
Vary: Accept-Encoding,User-Agent
Content-Encoding: gzip
Keep-Alive: timeout=1, max=100
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: application/forcedownload
1faa
<тело файла>
0
=======================================================================
=========================== Opera 10 ===========================
=======================================================================
GET /fz/index.php?dir=.NEWs/&file=navisetup.exe HTTP/1.1
Host: www.mcrf.ru
Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/532.0 (KHTML, like Gecko) Chrome/3.0.195.25 Safari/532.0
Referer: http://www.mcrf.ru/fz/index.php?dir=.NEWs/
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Cookie: __utmz=122738967.1255333903.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); bblastvisit=1255333914; IDstack=%2C8353%2C; bblastactivity=0; bbsessionhash=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX; __utma=122738967.1503020065.1255333903.1255333903.1255334775.2; __utmc=122738967; __utmb=122738967.2.10.1255334775
Accept-Language: ru-RU,ru;q=0.8,en-US;q=0.6,en;q=0.4
Accept-Charset: windows-1251,utf-8;q=0.7,*;q=0.3
HTTP/1.1 200 OK
Date: Mon, 12 Oct 2009 08:06:52 GMT
Server: Apache/2
X-Powered-By: PHP/5.2.6
Expires: 0
X-UA-Compatible: IE=7
pragma: cache
cache-control: public, must-revalidate, max-age=0
accept-ranges: bytes
x-sent-by: PEAR::HTTP::Download
content-disposition: attachment; filename="navisetup.exe"
etag: "9344709b9ff0f85b9c3d4b428b8c6ca6-1308519114"
Last-Modified: Wed, 22 Apr 2009 20:20:57 GMT
Vary: Accept-Encoding,User-Agent
Content-Encoding: gzip
Keep-Alive: timeout=1, max=100
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: application/forcedownload
1faa
<тело файла>
0
=======================================================================
=================== Firefox + FlashGot + FDM ==========================
=======================================================================
*********************** Первый запрос - FireFox
GET /fz/index.php?dir=.NEWs/&file=samsung_langpacks_description_03_2009.zip HTTP/1.1
Host: www.mcrf.ru
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: ru,en-us;q=0.7,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: windows-1251,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://www.mcrf.ru/fz/index.php?dir=.NEWs/
Cookie: bblastvisit=1249280218; bblastactivity=0; __utma=122738967.814746792.1249280667.1255096190.1255333833.106; __utmz=122738967.1254840310.98.5.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=DreamBox%20Detected%20platform%20is%20different%20from%20selected; bbuserid=8353; bbpassword=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX; IDstack=%2C8353%2C; bbsessionhash=XXXXXXXXXXXXXXXXXXXXXXXXX; __utmb=122738967.7.10.1255333833; __utmc=122738967
*********************** Ответ на запрос FireFox (докачка не поддерживается)
HTTP/1.1 200 OK
Date: Mon, 12 Oct 2009 08:20:34 GMT
Server: Apache/2
X-Powered-By: PHP/5.2.6
Expires: 0
X-UA-Compatible: IE=7
pragma: cache
cache-control: public, must-revalidate, max-age=0
accept-ranges: bytes
x-sent-by: PEAR::HTTP::Download
content-disposition: attachment; filename="samsung_langpacks_description_03_2009.zip"
etag: "4a416b3d47704702e62bdb3c7fb5f6a0-3850345585"
Last-Modified: Mon, 20 Apr 2009 21:00:19 GMT
Vary: Accept-Encoding,User-Agent
Content-Encoding: gzip
Keep-Alive: timeout=1, max=100
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: application/forcedownload
1faa
<тело файла>
0
*********************** Второй запрос - Free Download Manager
GET /fz/index.php?dir=.NEWs/&file=samsung_langpacks_description_03_2009.zip HTTP/1.1
Referer: http://www.mcrf.ru/fz/index.php?dir=.NEWs/
Accept: */*
User-Agent: FDM 3.x
Host: www.mcrf.ru
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: bbsessionhash=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX; IDstack=%2C8353%2C; bbpassword=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX; bbuserid=8353; bblastactivity=0; bblastvisit=1249280218; __utmb=122738967.7.10.1255333833; __utmc=122738967; __utma=122738967.814746792.1249280667.1255096190.1255333833.106; __utmz=122738967.1254840310.98.5.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=DreamBox%20Detected%20platform%20is%20different%20from%20selected; bbsessionhash=608ebbad56634a9fa6bc7fa3aec4d91e
*********************** Ответ на запрос Free Download Manager (докачка поддерживается)
HTTP/1.1 200 OK
Date: Mon, 12 Oct 2009 08:20:39 GMT
Server: Apache/2
X-Powered-By: PHP/5.2.6
Expires: 0
X-UA-Compatible: IE=7
pragma: cache
cache-control: public, must-revalidate, max-age=0
accept-ranges: bytes
x-sent-by: PEAR::HTTP::Download
content-disposition: attachment; filename="samsung_langpacks_description_03_2009.zip"
etag: "4a416b3d47704702e62bdb3c7fb5f6a0-3850345585"
Set-Cookie: bbsessionhash=XXXXXXXXXXXXXXXXXXXXXXXXXXXXX; path=/; HttpOnly
Last-Modified: Mon, 20 Apr 2009 21:00:19 GMT
content-length: 528764
Vary: Accept-Encoding,User-Agent
Keep-Alive: timeout=1, max=100
Connection: Keep-Alive
Content-Type: application/forcedownload
<тело файла>
Кажется, на сервере установлен какой-то аддон, модифицирующий отдаваемые по HTTP данные. Обратите внимание, браузеры говорят:
Код:
Accept-Encoding: deflate, gzip, x-gzip, identity, *;q=0
типа мы предпочитаем именно такие типы компрессии.
И в ответ получают
Код:
Content-Encoding: gzip
Transfer-Encoding: chunked
Типа на тебе, chunked сжатый.
А Free Download Manager скромно говорит
типа я не разборчивый, хаваю все. И сервер тогда ему, скромному, правильно отдает файл, как он есть
Код:
content-length: 528764