Add support for passing headers in Casper.open() #137

Closed
n1k0 opened this Issue Jun 5, 2012 · 2 comments

Projects

None yet

1 participant

@n1k0
CasperJS member

Looks like phantomjs handles them when passed as in settings.headers (1.6-dev): https://github.com/ariya/phantomjs/blob/master/src/webpage.cpp#L362

@n1k0
CasperJS member

First impl. attempt in 15059a3

@n1k0
CasperJS member

As a side note and because someone asked, custom headers support requires a PhantomJS 1.6-dev build.

@n1k0 n1k0 added a commit that referenced this issue Jun 9, 2012
@n1k0 n1k0 refs #137 - added a warning when trying to send custom request header…
…s using phantom < 1.6
2ffa311
@n1k0 n1k0 was assigned Jun 19, 2012
@n1k0 n1k0 closed this Jun 23, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment