POST /pages/login HTTP/1.1
Accept: */*
Accept-Language: zh-cn
Referer: http://www.buxfeed.com/pages/login
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)
Host: www.buxfeed.com
Content-Length: 132
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: login_rememberusername=1; login_user=aWV%2FYHt6Y3dtfQ%3D%3D; sig=20130823d3f6fb5e5c17; PHPSESSID=f2b8c1fac82aae54a4d3048892a9a7e9
以上是我抓到的登陆数据包。想问下,最下面那个COOKIE部分可以去掉么?因为我不知道如何操作COOKIE。
Accept: */*
Accept-Language: zh-cn
Referer: http://www.buxfeed.com/pages/login
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)
Host: www.buxfeed.com
Content-Length: 132
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: login_rememberusername=1; login_user=aWV%2FYHt6Y3dtfQ%3D%3D; sig=20130823d3f6fb5e5c17; PHPSESSID=f2b8c1fac82aae54a4d3048892a9a7e9
以上是我抓到的登陆数据包。想问下,最下面那个COOKIE部分可以去掉么?因为我不知道如何操作COOKIE。
解决方案 »
- (急用)tcpserver/tclient返回信息问题
- 如何操作Tlistview单元的~
- 搞了几年delphi,现在换工作了,去搞c#
- 关于一个小的提示的设计
- stringgrid 的scrollbars 已经设为ssBoth ,运行时怎样判断滚动条是否出现了,用代码,不告诉我用肉眼
- 这句话是什么意思??
- ClassName为TStringGrid的控件(网格控件)我想用SendMessage(hwnd, WM_GETTEXT,length, 0)得到它内部单元格的值
- 急!!!需要图标:32×32×256色(收到就给分,结贴率100%)
- 动态连接库调用可执行程序,如何实现快捷键调用,使其窗体编程激活状态。
- 如何用ProgressBar来反映SQL查询时的进度?
- 调webservice
- 如何将quickreport中预览窗体中工具栏的某些按钮设为无效
使用的是IdHttp的话,也可以设置自动管理。
idhttp.Request.CustomHeaders.Clear;
idhttp.Request.CustomHeaders.Add(sCookie);