Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getNextPage should reuse headers #229

Closed
glasser opened this issue Feb 20, 2015 · 1 comment
Closed

getNextPage should reuse headers #229

glasser opened this issue Feb 20, 2015 · 1 comment

Comments

@glasser
Copy link

glasser commented Feb 20, 2015

It's surprising that getNextPage doesn't reuse the headers (eg, Accept) that are specified on the first page. (Yeah, you can set them globally with config.headers or config.requestMedia, but still.)

@kaizensoze
Copy link

Not the most elegant solution, but there's now the option to pass a headers object to page-related methods.

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

No branches or pull requests

2 participants