Function validateAndCloseHttpResponse

  • Check if the http response is valid, and throw an error if not.

    Parameters

    • url: string

      The original URL that was to be updated.

    • httpResponse: Response

      The update response.

    Returns Promise<void>