This module defines the settings and configurations for HTTP client
resources within the KDEPS framework. It enables the management of
HTTP requests, including method specifications, request data, headers,
and handling of responses. This module provides functionalities to
retrieve and manage HTTP client resources based on their identifiers.
Returns the relative, descendent directory path between this module and other.
Throws if no such path exists.
For example, if module mod1 has path /dir1/mod1.pkl, and module mod2 has path /dir1/dir2/dir3/mod2.pkl,
then mod1.relativePathTo(mod2) will return List("dir2", "dir3").
A common use case is to compute the directory path between a template located at the root of a hierarchy
(say rootModule.pkl) and the currently evaluated module (accessible via the module keyword):
Retrieves the file path containing the response body associated with the specified resource actionID.
actionID: The actionID of the resource to retrieve the response body for.
Returns the decoded content if the file is Base64-encoded; otherwise, returns the file content as-is.
Retrieves the specified response header associated with the resource actionID.
actionID: The actionID of the resource to retrieve the response header for.
headeractionID: The name of the header to retrieve.
str: The value of the specified response header, or an empty string if not found.
This module defines the settings and configurations for HTTP client resources within the KDEPS framework. It enables the management of HTTP requests, including method specifications, request data, headers, and handling of responses. This module provides functionalities to retrieve and manage HTTP client resources based on their identifiers.