zig
zig

Reputation: 4624

Delphi Overbyte ICS THttpCli- How to set custom request header?

Is it possible to set a custom header with ICS THttpCli POST request?
I'm using ICS-V5 Distribution (Sep 12, 2009)

All I can see is a RcvdHeader property but there is no SendHeader.

P.S: I know about Indy. this is a question about ICS which is used in my current framework.

Upvotes: 4

Views: 1902

Answers (1)

zig
zig

Reputation: 4624

in the OnBeforeHeaderSend event you can modify the headers passed as the Headers string list parameter.

Thanks @TLama :)

Upvotes: 2

Related Questions