---
name: "HttpAddRequestHeadersW"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/HttpAddRequestHeadersW"
---

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