Cotal TypeScript packages
    Preparing search index...

    Function checkDiscoveryDocument

    • A fetched discovery document, checked as a user bundle. A body that does not parse is refused with the URL and content type that answered: the operator holds no file to re-export, and a catch-all route answering the well-known path with an HTML page is the usual cause. Parsing decides rather than the content type, because static hosts serve that extensionless path as application/octet-stream or text/plain.

      Parameters

      • res: Response

      Returns Promise<Check<UserBundle>>