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

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant