Microsoft Internet Security and Acceleration Server 2004 SDK |
The AddResponseHeaders callback function adds a header to the HTTP response, if the response was created by ISA Server.
The AddResponseHeaders callback function is declared as:
BOOL WINAPI * AddResponseHeaders( struct _HTTP_FILTER_CONTEXT* pfc, LPSTR lpszHeaders, LPSTR dwReserved );
header1:value1\r\nheader2:value2\r\nThe string may contain one or more headers. Each header and value pair must be terminated by
\r\n
.The AddResponseHeaders callback function can be used to add headers to responses for clients before the server processes the request, but not during or after SF_NOTIFY_ACCESS_DENIED or SF_NOTIFY_SEND_RESPONSE notifications. You can add a header when the SF_NOTIFY_SEND_RESPONSE notification occurs by using the AddHeader member of the HTTP_FILTER_SEND_RESPONSE structure.
Headers are added by AddResponseHeaders only for responses generated by ISA Server, such as error pages, where SF_NOTIFY_SEND_RESPONSE is triggered. Use SF_NOTIFY_SEND_RAW_DATA to add headers to all responses. For more information on the types of event notifications that are sent to Web filters, see Event Notifications.
Server: Requires Windows Server 2003 or
Windows 2000.
Version: Requires Internet Security and Acceleration
Server 2004.
Header: Declared in Wpxhttpfilt.h.