@maschinenlesbar.org/ckan-cli
    Preparing search index...

    Class RequestEngine

    Index
    • Build a fully-qualified URL from a path and optional query parameters. It keeps the base URL's userinfo; request() leaves it out and sends it as an Authorization header instead (see basicAuthorization).

      Parameters

      Returns string

    • text without the base URL's credentials (raw and percent-decoded, and the forms a server echoes them back in: echoedCredentialForms): server text (an error body or a CKAN error that echoes the request URL) and transport text (fetch's "Failed to fetch ") can carry them. The client uses it for its own messages built from server text.

      Parameters

      • text: string

      Returns string