The HTTPClient object can now send authentication credentials (such as Windows credentials) to the server/proxy when accessing the server resources. The following are the newly-added functions:
-
GetSupportScheme: gets the supported authentication schemes, such as Negotiate, NTLM, Digest, and Basic.
-
SetCredentials: sets and passes the required authorization credentials to the server.
-
ResendPostRequest: resends the request when necessary.
The HTTPClient and OAuthClient objects no longer need to call the ExtractorObject object to extract data. The following functions have been enhanced to automatically decompress the response data in the gzip or brotli format (with the response header "Content-Encoding: gzip" or "Content-Encoding: br"):
-
SendRequest and ReadData in HTTPClient
-
RequestResource in OAuthClient