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(
  struct _HTTP_FILTER_CONTEXT * pfc
  LPSTR lpszName,
  LPSTR lpszValue  
 

Parameters

pfc
Points to an HTTP_FILTER_CONTEXT structure.
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.