Microsoft Internet Security and Acceleration Server 2000

HTTP_FILTER_SEND_RESPONSE

Web (ISAPI) filters receive this notification immediately before they send headers to the client. The filter can inspect, modify, or add headers that the client will receive as part of the response to the client's original request. The structure contains the same members as HTTP_FILTER_PREPROC_HEADERS. When a filter has registered for the SF_NOTIFY_SEND_RESPONSE event, the pvNotification parameter of HttpFilterProc will point to this structure.

Note  SF_NOTIFY_SEND_RESPONSE is not used when the ISA Web proxy service sends a response. However, it is called when a filter generates a response itself by using ServerSupportFunction (SF_REQ_SEND_RESPONSE_HEADER).

typedef struct HTTP_FILTER_SEND_RESPONSE {
  BOOL (WINAPI * GetHeader); 
  BOOL (WINAPI * SetHeader); 
  BOOL (WINAPI * AddHeader); 
  DWORD HttpStatus;
  DWORD dwReserved; 
} HTTP_FILTER_SEND_RESPONSE, *PHTTP_FILTER_SEND_RESPONSE;

Members

GetHeader
Points to the GetHeader function, which retrieves the specified header value. Header names must include the trailing colon (:).
SetHeader
Points to the SetHeader function, which changes or deletes the value of a header. The function can be used to change the special values included in the request line.
AddHeader
Points to the AddHeader function to add a header to the response.
HttpStatus
The current HTTP status code.
dwReserved
A DWORD data type reserved for later use.