• Iterates over a Headers object and returns an object with all the header entries. Values are represented as an array to account for repeated headers.

    Parameters

    • headers: Headers

    Returns Record<string, string[]>