HttpAddRequestHeadersW (WININET.@)
BOOL HttpAddRequestHeadersW ( HINTERNET hHttpRequest, LPCWSTR lpszHeader, DWORD dwHeaderLength, DWORD dwModifier )
Adds one or more HTTP header to the request handler.
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.
TRUE on success FALSE on failure
Declared in "include/wininet.h". gitlab.winehq.org/wine/wine/blob/master/include/wininet.h
Implemented in "dlls/wininet/http.c". gitlab.winehq.org/wine/wine/blob/master/dlls/wininet/http.c
Debug channel "wininet".
Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Nov 2024.