Skip to content

Add support for getSetCookie() method #56

Description

@nfriedly

Now that whatwg/fetch#1346 is landed, the fetch() spec has a new response.headers.getSetCookie() method for getting individual (non-combined) set-cookie headers.

We should detect the presence of getSetCookie() and call it when available.

Additionally the documentation should be cleaned up to clarify that splitCookiesString() is only necessary when working with older implementations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions