New ADOxx versions (v1.8.0-a7 or newer) integrate the Extended HTTP Request and change datatype of "header"
The new versions of ADOxx, starting from v1.8.0-a7, will integrate the Extended HTTP Request module directly to replace the previous implementation of CC "AdoScript" HTTP_REQUEST
. Most of the input parameters and output results are the same. However, the value returned for header
has changed from previously a string to a map.
header
string before:
HTTP/1.1 200 OK
Connection: keep-alive
Date: Wed, 01 Feb 2023 09:55:44 GMT
Content-Length: 315
Content-Type: application/json
Server: gunicorn/19.9.0
Access-Control-Allow-Origin: *
Access-Control-Allow-Credentials: true
header
map now:
{
"access-control-allow-credentials": "true",
"access-control-allow-origin": "*",
"content-length": "308",
"content-type": "application/json",
"date": "Wed, 01 Feb 2023 10:07:34 GMT",
"server": "gunicorn/19.9.0"
}
Since this module seems to use this command, check if it is necessary to adapt parts of the code to work with the new versions of ADOxx and possibly also improve the code by dropping the dependency on the "Extended HTTP Requests" module.