Internet Direct (Indy) Version 9.0.2 Beta
|
procedure WriteHeader;
WriteHeader generates the following HTTP header values:
WWW-Authenticate is generated when AuthRealm contains a non-empty value. ResponseNo is set to 401 when AuthRealm is used.
Set-Cookie is generated for each value in Cookies.
Dest is an optional TStream used as a local buffer for header values. When Dest is not Nil, headers are written to Dest and not to Connection.
Use WriteContent to generate the content for the HTTP response.