|This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.|
The AddResponseHeaderscallback function specifies a response header to send to the client.
BOOL WINAPI * AddResponseHeaders( PHTTP_FILTER_CONTEXT pfc, LPSTR lpszHeaders, LPSTR dwReserved );
AddResponseHeaders()can be used to add headers for client before the server processes the request, but not during or after HTTP_FILTER_SEND_RESPONSEnotification. If you need to add a header when the HTTP_FILTER_SEND_RESPONSEnotification occurs, you can do so by using the AddHeadermember of the HTTP_FILTER_SEND_RESPONSEstructure.