CookieAgent to add support for HTTP cookie handling
|Reported by:||gabrtv||Owned by:||jonathanj|
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 gabrtv
- Summary changed from CookieLibAgent to add support for HTTP cookie handling to CookieAgent to add support for HTTP cookie handling
comment:11 in reply to: ↑ 8 Changed 6 years ago by jonathanj
- Keywords review added
- Owner gabrtv deleted