idpatible;?MSIE?6.0;?Windows?NT?5.2;?SV1;?.NET?CLR?1.1.4322;?.NET?CLR?2.0.50727)
Content-Type:?application/x-www-form-urlencoded
Host: 網址
Content-Length:?52
Expect:?100-continue
除 Agent 等可以直接在 idHttp 屬性中進行設置:
自定義頭部在?CustomHeaders 中進行定義:
用代碼定義其中的 Expect 如下:
IdHTTP1.Request.CustomHeaders.Values['expect']?:=?'100-continu';