This support function allows you 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 extension can also, optionally, append other header information to the end of IIS-generated header, such as Content-Type or Content-Length.
Important This support function is deprecated. You should use HSE_REQ_SEND_RESPONSE_HEADER_EX instead.
BOOL ServerSupportFunction(
HCONN ConnID,
DWORD HSE_REQ_SEND_RESPONSE_HEADER,
LPVOID lpvBuffer,
LPDWORD lpdwSize,
LPDWORD lpdwDataType
);
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.