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

add RequestManager.cookieStore #45

Open
wants to merge 1 commit into
base: 5.x
Choose a base branch
from

Conversation

IntermittentlyRupert
Copy link

Introduced in Paperback 0.7-r36. This is the same change as #44, but targeted to the correct branch.


const _global = global as any

_global.createRequestManager = function (info: RequestManagerInfo): RequestManager {
const jar = new CookieJar();

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably worth checking - does getAllCookies return all cookies set over the life of the RequestManager (which is what this implementation does), or just from the latest request?

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

Successfully merging this pull request may close these issues.

1 participant