NAME

HSE_SEND_HEADER_EX_INFO - terse description


SYNOPSIS

 #include "httpext.h" /* or httpfilt.h */
 typedef struct _HSE_SEND_HEADER_EX_INFO {
   LPCSTR pszStatus; /* HTTP status code. */
   LPCSTR pszHeader; /* HTTP header. */
   DWORD cchStatus;  /* Number of characters in status code. */
   DWORD cchHeader;  /* Number of characters in header. */
   BOOL  fKeepConn;  /* Keep client connection alive ? */
 } HSE_SEND_HEADER_EX_INFO, *PHSE_SEND_HEADER_EX_INFO;


DESCRIPTION

HSE_SEND_HEADER_EX_INFO describes the headers an ISAPI extension wants sent to the client.


DATA FIELDS

Each psz* field shall be a pointer to the start of an array of characters, the corresponding cch* field is the number of characters to read from this array. The *Status fields should encode the string, such as ``200 OK'', which is to appear as the status line of the HTTP response. The *Header fields should encode a string comprising a succession of valid HTTP header lines, joined by the `CRLF' pair ``\r\n'', e.g. ``Content-Type: text/html\r\nContent-Length: 27''.

The fKeepConn field is a hint to the web server: if set to TRUE, it suggests keeping the client connection open; if set to FALSE it suggests closing the connection once the present response has been sent. Since, in practice, the client and the web server have negotiated their own decisions on this matter, it is possible that this hint will be ignored.


SEE ALSO

isapi(7), GetExtensionVersion(3), HttpExtensionProc(3), TerminateExtension(3), EXTENSION_CONTROL_BLOCK(5).


FILES

$ZEUSHOME/web/include/httpext.h $ZEUSHOME/web/include/wintypes.h $ZEUSHOME/webadmin/docroot/docs/modules/isapi/*.html


COPYRIGHT

Copyright (C) 2000-2001 Zeus Technology Limited. All rights reserved.