用参数形成RequestHeader

时间:2014-01-13 13:07:01

标签: java request-headers

GET /sap/sap.dll HTTP/1.1
Host: www17.mywebsite.co.in
Connection: keep-alive
Authorization: Basic c4FtdWVsajE6Q2hddmdlQDErfw==
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.95 Safari/537.36
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Cookie: fl-cookies-accept=true; PDWPI-SSL-SESSION-COOKIE=8CocgSJ84xGfLABQVo8DZQ==BFZz5qWf+iGI6242re1eg-u4N9pGPnWnVKoK4nF6g2M=; PDWPI-SSL-SESSION-COOKIE=QKkkDzZ84xGfLABQVo8DZQ==9rU8IIgPbB50dk+PraQo2lcb1zp+AwPu2MGtqmyWGWE=

我需要使用以下参数形成请求网址。我已经读过conn.setRequestProperty不适用于https请求。此外,我也支持代理服务器。有人可以投入一些光来形成这样的网址吗?

0 个答案:

没有答案