Skip to content
This repository has been archived by the owner on Dec 6, 2019. It is now read-only.

Custom headers seems not to be working #39

Open
nei opened this issue Mar 13, 2015 · 0 comments
Open

Custom headers seems not to be working #39

nei opened this issue Mar 13, 2015 · 0 comments

Comments

@nei
Copy link

nei commented Mar 13, 2015

Guys, I am trying to setup custom headers but it seems not to work. The way I am setting up the header is this
...
casper.start();
tests.forEach(function (test) {

    console.log('Running Phantom CSS on Url: ' + test.url);
    casper.open(test.url, {
        method: 'get',
        headers: {
            'Host': 'mydomain.com'
        }
    }).then(function(response) {

...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant