Skip to content

Allow setting cookies for asset discovery #374

@wwilsman

Description

@wwilsman

While cookies are sent as headers, it appears as though providing a Cookie with the discovery.requestHeaders option does not work as expected.

It looks like there is a CDP method that allows setting cookies. We should add support for this via discovery.cookies.

What should the syntax look like? Mirror the headers option and allow key: value cookies? Or mirror the CDP API and allow an array of cookie param objects? Both (if object, a, if array, b)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions