Scroll to navigation

HttpAddRequestHeadersW(3w) Wine API HttpAddRequestHeadersW(3w)

NAME

HttpAddRequestHeadersW (WININET.@)

SYNOPSIS

BOOL HttpAddRequestHeadersW
(
HINTERNET hHttpRequest,
LPCWSTR lpszHeader,
DWORD dwHeaderLength,
DWORD dwModifier
)
 

DESCRIPTION

Adds one or more HTTP header to the request handler.
 

NOTE

On Windows(tm) if dwHeaderLength includes the trailing ' ', then HttpAddRequestHeadersW() adds it too. However this results in an invalid Http header which is rejected by some servers so we probably don't need to match Windows(tm) on that point.
 

RETURNS

TRUE on success FALSE on failure
 

IMPLEMENTATION

Declared in "wininet.h".
Implemented in "dlls/wininet/http.c".
Debug channel "wininet".
Oct 2012 Wine API