HeadersPrepared Event
Fires when the request headers have been formed and are about to be sent to the server.
Syntax
type THeadersPreparedEvent = procedure ( Sender: TObject ) of Object;
property OnHeadersPrepared: THeadersPreparedEvent read FOnHeadersPrepared write FOnHeadersPrepared;
Remarks
The prepared headers are available in RequestHeaders property. This event provides you the last chance to review/alter them.