SetHeader

The SetHeader callback function is used by ISAPI filters to change or delete the value of a header. The function can be used to change the special values included in the request line.

BOOL WINAPI * SetHeader(

  PHTTP_FILTER_CONTEXT pfc,

  LPSTR lpszName,

  LPSTR lpszValue

);

 

Parameters
pfc
Points to the HTTP_FILTER_CONTEXT data structure that is associated with the current, active HTTP transaction.
lpszName
Points to the name of the header to change or delete.
lpszValue
Points to the new string for the header, or to '\0' (to delete the header).