首页 > 代码库 > ics OverbyteIcsHttpProt
ics OverbyteIcsHttpProt
else begin { V7.05 begin } if (FRequestType = httpPOST) or (FRequestType = httpPUT) then begin {$IFDEF UseNTLMAuthentication} if (FAuthNTLMState = ntlmMsg1) or (FProxyAuthNTLMState = ntlmMsg1) then Headers.Add(‘Content-Length: 0‘) else {$ENDIF} Headers.Add(‘Content-Length: ‘ + IntToStr(SendStream.Size - SendStream.Position)); end {gavin.chen 2014.05.07 ++++++ 加了对于 delete 参数的,content length} else if (FRequestType = httpDELETE) AND (Assigned(SendStream)) then begin Headers.Add(‘Content-Length: ‘ + IntToStr(SendStream.Size - SendStream.Position)); end; {+++++++++++++++++++++} end; { V7.05 end }
ics OverbyteIcsHttpProt
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。