码迷,mamicode.com
首页 > Web开发 > 详细

HttpSendRequest的header的构造

时间:2014-12-23 10:37:39      阅读:209      评论:0      收藏:0      [点我收藏+]

标签:

  heads:=TStringList.Create;
  heads.Add('Content-Type:application/x-www-form-urlencoded; charset=UTF-8');
  heads.Add('Cache-Control:no-cache');
  heads.Add('User-Agent:Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)');
  heads.Add('Accept:*/*');
  heads.Add('Accept-Encoding:gzip,deflate');
  heads.Add('Accept-Charset:gb2312,utf-8;q=0.7,*;q=0.7');
  heads.Add('Connection:keep-alive');
  heads.Add('Host:kyfw.12306.cn');
  heads.Add('Referer:https://kyfw.12306.cn/otn/login/init#');
  heads.Add('Accept-Language:zh-cn');

HttpSendRequest的header的构造

标签:

原文地址:http://blog.csdn.net/hutao1101175783/article/details/42098405

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!