Skip to content

Add cookie support to Pest #51

@torenware

Description

@torenware

I've implemented a way of adding a set of cookie key/value pairs to a Pest request. It works like Pest::setupAuth() and Pest::setupProxy(): it turns the key value pairs into something that can be passed to curl_setopt().

This works at least well enough so that I can authenticate using session cookies against Drupal 7; I expect that most other apps that do this will work as well.

I'll be setting up a pull request shortly.

Thanks,
Rob

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