POST请求登入https网站

Push 发布于 2013/05/20 13:41
阅读 1K+
收藏 0
"POST /login?lhs_type=anywhere HTTP/1.1\r\n\
Accept:text/html, application/xhtml+xml, */*\r\n\
Referer:https://www.dropbox.com/login?lhs_type=anywhere \r\n
Accept-Language:zh-CN\r\n\
User-Agent	Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0; MATP; MATP)
DNT	1
Accept-Encoding	gzip, deflate
Host	www.dropbox.com
Connection	Keep-Alive
Cache-Control	no-cache
Cookie	locale=zh_CN; gvc=MjQ4NDcwMjY4NzIxMTc3MjM5ODI1MTM3OTE1MDYxODM2Mzg3MDY%3D; __utma=74146836.1970044426.1369026291.1369026291.1369026291.1; __utmb=74146836.13.10.1369026291; __utmc=74146836; __utmz=74146836.1369026291.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); puc=MDEzMzJmYg%3D%3D; t=C-1P_4NoDWN0681gUCuBMjSx
请求	GET /home HTTP/1.1
Accept	text/html, application/xhtml+xml, */*
Referer	https://www.dropbox.com/login?lhs_type=anywhere
Accept-Language	zh-CN
User-Agent	Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0; MATP; MATP)
DNT	1
Accept-Encoding	gzip, deflate
Host	www.dropbox.com
Cookie	locale=zh_CN; gvc=MjQ4NDcwMjY4NzIxMTc3MjM5ODI1MTM3OTE1MDYxODM2Mzg3MDY%3D; __utma=74146836.1970044426.1369026291.1369026291.1369026291.1; __utmb=74146836.13.10.1369026291; __utmc=74146836; __utmz=74146836.1369026291.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); puc=MDEzMzJmYg%3D%3D; lid=AAD-dKFnPHEJk6iVahx8V3CLNbszy-RIAk9eB1-DArmy8w; jar=W3sidWlkIjogMTcyNTg2Nzc3LCAiaCI6ICJBQUJ0eENqMGRhTGNVQ0VTejFnRDd2Umd1dXhNZm1tWk52dzQ1RVV5RE1Yb3BnIiwgImV4cGlyZXMiOiAxMzY5MTE0MDc5LCAibnMiOiAyNzU3MzA0OTcsICJyZW1lbWJlciI6IGZhbHNlfV0%3D; t=5_Kvw9__dnW7n4kqYP-W8j2W; forumjar=eyJ2ZXJpZmllZCI6IDEsICJ1aWQiOiAxNzI1ODY3NzcsICJleHBpcmVzIjogMTM2OTExNDA3OSwgInBhaWQiOiAwLCAibG5hbWUiOiAiYXNkIiwgImZuYW1lIjogImFzZCIsICJkaXNwbGF5X25hbWUiOiAiYXNkIGFzZCIsICJlbWFpbCI6ICIyNDA3NTEyMTE4QHFxLmNvbSJ9; blid=AAAMvJOIxw0E8qF9sU9Upm_MY3WuxEfCxwFnZQoYy_hU9A; bjar=W3sic2Vzc19pZCI6IDI0ODQ3MDI2ODcyMTE3NzIzOTgyNTEzNzkxNTA2MTgzNjM4NzA2LCAiZXhwaXJlcyI6IDEzNjkxMTQwNzksICJ1aWQiOiAxNzI1ODY3Nzd9XQ%3D%3D; forumlid=Yzg3YmJlYTliMjkxZjgwYTVkZjc5MDkxYmYyMTk4NjAyZDk3NWNjMA%3D%3D
Connection	Keep-Alive
Cache-Control	no-cache"

在IE的F12工具下发现POST请求是如此的。而我单单用POST却反回一个301(该链接将永久移除).正常是302

Https请求头是不是有什么特别的东西啊

加载中
返回顶部
顶部