CHttpResponse::AppendHeader
Visual Studio 2005
Call this method to append a header to the collection of HTTP headers managed by this object.
BOOL AppendHeader( LPCSTR szName, LPCSTR szValue ) throw();
Parameters
- szName
-
A null-terminated string containing the name of the HTTP header.
- szValue
-
A null-terminated string containing the value of the HTTP header.
Call CHttpResponse::ClearHeaders if you need to remove cookies and other headers from the response.