GoblinNN Цитата: ну как не прямая то? прямее некуда
Вот [more=>>>]
+++GET 111+++
GET /big/2013/0331/94/156340a5a5111729ba87fc9ccdb90f94.jpg HTTP/1.1
User-Agent: Mozilla/5.0 Host: i33.fastpic.ru
Accept: text/html, application/xml;q=0.9, application/xhtml+xml, image/png, image/webp, image/jpeg, image/gif, image/x-xbitmap, */*;q=0.1
Accept-Language: ru-RU,ru;q=0.9,en;q=0.8
Accept-Encoding: gzip, deflate
Referer:
http://forum.ru-board.com/topic.cgi?forum=5&bm=1&topic=31939&start=3240 Cookie: __utma=*
Cache-Control: no-cache
Connection: keep-alive
+++RESP 111+++
HTTP/1.1 302 Moved Temporarily Server: nginx
Date: Sun, 31 Mar 2013 13:02:20 GMT
Content-Type: text/html
Content-Length: 154
Connection: keep-alive
Location: http://fastpic.ru/view/33/2013/0331/156340a5a5111729ba87fc9ccdb90f94.jpg.html[/more], что происходит, если User Agent непонятен или неизвестен фастпику. Но стоит вставить даже User Agent от дефолтного браузера андройда, сразу всё нормально [more=>>>]
+++GET 242+++
GET /big/2013/0331/94/156340a5a5111729ba87fc9ccdb90f94.jpg HTTP/1.1
User-Agent: Mozilla/5.0 (Linux; U; Android 2.3.6; en-gb; SAMSUNG GT-I9070/I9070BULD1 Build/GINGERBREAD) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1 Host: i33.fastpic.ru
Accept: text/html, application/xml;q=0.9, application/xhtml+xml, image/png, image/webp, image/jpeg, image/gif, image/x-xbitmap, */*;q=0.1
Accept-Language: ru-RU,ru;q=0.9,en;q=0.8
Accept-Encoding: gzip, deflate
Referer:
http://forum.ru-board.com/topic.cgi?forum=5&bm=1&topic=31939&start=3240 Cookie: __utma=*
Cache-Control: no-cache
Connection: keep-alive
+++RESP 242+++
HTTP/1.1 200 OK Server: nginx
Date: Sun, 31 Mar 2013 13:28:15 GMT
Content-Type: image/jpeg
Content-Length: 96999
Last-Modified: Sun, 31 Mar 2013 09:24:40 GMT
Connection: keep-alive
Accept-Ranges: bytes
+++CLOSE 242+++[/more]