HSE_REQ_SEND_RESPONSE_HEADER

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

);

 

Parameters
ConnID
Specifies the connection identifier of the client to which the response data should be sent.
lpvBuffer
Points to an optional HTTP status string.
lpdwSizeofBuffer
Unused in this ServerSupportFunction request type.
lpdwDataType
Points to an optional, null-terminated string that contains any extra headers that should be appended to the default response headers.
Remarks

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.