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

    Function assertHeaderValue

    • Return value when it can be sent in the name header, else throw an OparlValidationError with the reason from headerValueProblem. The CLI's --user-agent parser calls this too, so both reject the same values alike.

      Parameters

      • name: string
      • value: string

      Returns string