Product: ACUCOBOL-GT
Module: rmnet.dll
Machines Affected: All
The HttpSetUsername, HttpSetPassword, HttpSetLoginOptions, and HttpSetSSLVersion function calls have been added to support HTTP servers that require a login a login.
CALL "HttpSetUsername" USING user-name GIVING response-status.
user-name | An alphanumeric item specifying the user name to use in authentication. Trailing spaces are removed from the value and then the value is zero terminated. |
response-status | A status code that, if nonzero, indicates the request encountered an error. In this case, the string representation of the error may be obtained by calling NetGetError. |
CALL "HttpSetPassword" USING password GIVING response-status.
password | An alphanumeric item specifying a password to use in authentication. Trailing spaces are removed from the value and then the value is zero terminated. |
response-status | A status code that, if nonzero, indicates the request encountered an error. In this case, the string representation of the error may be obtained by calling NetGetError. |
CALL "HttpSetLoginOptions" USING login-options GIVING response-status.
login-options | An alphanumeric item specifying the login options to use in authentication. This can be used to specify protocol specific options such as the preferred authentication mechanism. Trailing spaces are removed from the value and then the value is zero terminated. |
response-status | A status code that, if nonzero, indicates the request encountered an error. In this case, the string representation of the error may be obtained by calling NetGetError. |
call "HttpSetSSLVersion" using "SSLv3" giving response-status.
CALL "HttpSetSSLVersion" USING version-string GIVING response-status.
login-options | An alphanumeric item or literal specifying the SSL version to use. Valid values include:
Trailing spaces are removed from the value and then the value is zero terminated. Note: If you specify a value other than one of these valid values, the default value of CURL_SSLVERSION_DEFAULT is used, which causes
the client to attempt to determine the remote TLS/SSL protocol version.
|
response-status | A status code that, if nonzero, indicates the request encountered an error. In this case, the string representation of the error may be obtained by calling NetGetError. |