You can use this support function to request that IIS send a complete HTTP response header to the client browser, including the HTTP status, server version, message time, and MIME version. Your filter can also, optionally, append other header information to the end of IIS-generated header, such as Content-Type or Content-Length.
BOOL WINAPI * ServerSupportFunction(
PHTTP_FILTER_CONTEXT pfc,
enum SF_REQ_TYPE SF_REQ_SEND_RESPONSE_HEADER,
PVOID pData,
DWORD ul1,
DWORD ul2
);
If you append your own headers to the server-generated headers, you must terminate the header string with an extra carriage return and linefeed.
This support function must be called only once per HTTP request.