Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
TIWIndyHTTPClient.CustomHeaders value not included in request (v15.4.x)
#1
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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)