Проблема с логином вконтакте
Шлю такой пост запрос
Код:
POST http://vkontakte.ru/login.php HTTP/1.0
User-Agent: Opera/9.62 (Windows NT 5.1; U; ru) Presto/2.1.1
Host: vkontakte.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
Cookie: remixlang=3; remixchk=0;
Referer: http://vkontakte.ru/index.php
Proxy-Connection: Keep-Alive
Content-Length: 38
Content-Type: application/x-www-form-urlencoded
email=email@www.com&pass=password
В ответ получаю такую херню
Код:
HTTP/1.1 302 Found
Cache-Control: private, must-revalidate
Connection: close
Content-Length: 0
Content-Type: text/html; charset=windows-1251
Date: Wed, 25 Mar 2009 16:02:26 GMT
Location: /id26356129
Pragma: no-cache
Server: nginx/0.6.31
Set-Cookie: remixchk=5; expires=Sun, 04-Apr-2010 09:15:55 GMT; path=/; domain=.vkontakte.ru
X-Powered-By: PHP/5.2.0-8+etch13
Мыло,пароль правильные.Вчера все работало.Шлю через прокси.Вопрос:почему оно кидает редирект,но недает нужные куки????
|