Atozed Forums

Full Version: TIWIndyHTTPClient.CustomHeaders value not included in request (v15.4.x)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi!

IWIndyHTTPClient does not insert the CustomHeaders value into the request as of Intraweb 15.4.x.
(This worked fine in version 15.3.12.)

Example: the 'Signature' parameter was not included in the sent request (v.15.4.2):
xHTTP := TIWIndyHTTPClient.Create;
xHTTP.CustomHeaders.Add( 'Signature:abcdef123456' );
xHTTP.Post( address, req, contenttype);

But it works fine with this code:
xHTTP:=TidHTTP.Create(nil);
xHTTP.Request.ContentType:=contenttype;
xHTTP.Request.CustomHeaders.Add( 'Signature:abcdef123456' );
response:=iHTTP.Post( address, req );

Will there be a fix for TIWIndyHTTPClient?

Best regards:
Robert