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

    Function upgradeSameHostUrls

    • Rewrite http:// URLs on the host a response was fetched from over https to https://, everywhere in the decoded JSON. Several servers (Somacos in Dresden and Düsseldorf) publish http:// ids while serving https; printed as-is, passing such an id back to the CLI — the documented bodieslist workflow — sent every later request in plain text, or hung where port 80 is closed. Only default ports are rewritten; other hosts and responses fetched over http are left alone.

      Type Parameters

      • T

      Parameters

      • value: T
      • fetchedFrom: string

      Returns T