Skip to content

Passing a Cookie or custom header #26

@jeroenvermeulen

Description

@jeroenvermeulen

Many Magento 2.x shops give visitors with a new session a X-Magento-Vary cookie with a certain hash which is the same for all visitors that are not logged in.
It would be great if Crowlet could pass this cookie, or if we could pass a custom header to do the same.

For example with Curl you can do:

echo "site.com	FALSE	/	TRUE	1782927215	X-Magento-Vary	120dea20c5f4f657d073ebaab6819fcac8d656b7ba53136edb54b7cb386a6b8b" > cookie.txt
curl --cookie cookie.txt https://site.com/

Or

curl -v --header 'Cookie: X-Magento-Vary=120dea20c5f4f657d073ebaab6819fcac8d656b7ba53136edb54b7cb386a6b8b' https://site.com/ 

Beware the cookie file for Curl has to be tab separated.

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