CookieAgent to add support for HTTP cookie handling
|Reported by:||Gabriel Monroy||Owned by:||Jonathan Jacobs|
branch-diff, diff-cov, branch-cov, buildbot
|Author:||Gabriel Monroy, jonathanj|
This patch extents the twisted.web.client.Agent to add support for handling HTTP cookies. The new CookieLibAgent requires a cookieJar that implements the cookielib.CookieJar interface. Cookies are then automatically set and extracted during Agent request processing.
At the time of writing, this patch was built atop #3420 (Agent Persistent Connections).
This submission does not yet have tests. However it is performing relatively well inside a larger unit test infrastructure. I will try to add tests as my schedule permits, but I wanted to contribute the patch now in case others might find it useful.
Change History (17)
comment:2 Changed 6 years ago by
|Summary:||CookieLibAgent to add support for HTTP cookie handling → CookieAgent to add support for HTTP cookie handling|
comment:8 follow-up: 11 Changed 6 years ago by
|Owner:||set to Gabriel Monroy|
comment:9 Changed 6 years ago by
|Author:||Gabriel Monroy → Gabriel Monroy, jonathanj|