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® if dwHeaderLength includes the trailing '\0', 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® on that point.

RETURNS

TRUE on success FALSE on failure

IMPLEMENTATION

Declared in "wininet.h". https://source.winehq.org/source/include/wininet.h

Implemented in "dlls/wininet/http.c". https://source.winehq.org/source/dlls/wininet/http.c

Debug channel "wininet".


Copyright © 2022 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Sep 2022.