1
Plugin hook to access cookie jar
Source: Kong/insomnia#5819 · opened by @kk10005
I am trying to write a custom plugin that will add support for curl cookie files in the netscape cookie file format:
However I have run into the issue that none of the hooks provide access to the cookie jar.
I also tried having the cookies be attached manually for every request but this doesn't work for all cases because that hook is not invoked during redirects.
Ideally I would love for plugins to have a way to directly interact with the cookie jar, but as I mention above it would also work if redirects also invoked requesthooks
However I have run into the issue that none of the hooks provide access to the cookie jar.
I also tried having the cookies be attached manually for every request but this doesn't work for all cases because that hook is not invoked during redirects.
Ideally I would love for plugins to have a way to directly interact with the cookie jar, but as I mention above it would also work if redirects also invoked requesthooks
No pledges yet. Be the first to back this.
Comments
Similar requests
Make a cookie immutable
1 vote · 0 comments
Add plugin apis to control spec design functionality
1 vote · 0 comments
Export data should include plugin's data
1 vote · 0 comments
Add plugin `onPluginUpdate` lifecycle event for data / migration management
1 vote · 0 comments
Can't set cookie url to environmental variable
1 vote · 0 comments
No comments yet.