Sets a custom header field value by name
Source position: httpdefs.pp line 398
public procedure THTTPHeader.SetCustomHeader( |
const Name: string; |
const Value: string |
); virtual; |
Name |
|
Name of the custom header field |
Value |
|
Value to set for the custom header field |
SetCustomHeader assigns a value to a custom (non-standard) HTTP header field. This allows setting application-specific header extensions beyond standard HTTP headers.