Data.Cloud.AmazonAPI.TAmazonActionConditional.PopulateHeaders
Delphi
procedure PopulateHeaders(Headers: TStrings; ForCopy: Boolean = False);
C++
void __fastcall PopulateHeaders(System::Classes::TStrings* Headers, bool ForCopy = false);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Data.Cloud.AmazonAPI.pas Data.Cloud.AmazonAPI.hpp |
Data.Cloud.AmazonAPI | TAmazonActionConditional |
Description
Populates the given header list with the key/value pair of any field with an assigned value.
The keys used will be the header names, as required by Amazon requests. Different header names will be used if ForCopy
is set to True. For example, if False, one header will be 'If-Modified-Since' but, if True, that header will instead be 'x-amz-copy-source-if-modified-since'.
The following table shows the significance of the parameters:
Parameter | Description |
---|---|
|
The headers list to populate. |
|
Set to True to set for copying the source headers, and to False to set regular headers. |