HttpAddRequestHeadersW(3w)

HttpAddRequestHeadersW3w

Usage

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

Overview

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".

Releases

4 releases since Debian 4.0 (Etch); the text changed 3 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.