• Patch and return the given headers instance, removing the cookie.

    Parameters

    • headers: Headers

      The headers to patch

    • Optionalname: string

      Optional name of the cookie. Default is session.

    Returns Headers

    The patchec headers