Ticket #4922 enhancement closed fixed
CookieAgent to add support for HTTP cookie handling
| Reported by: | gabrtv | Owned by: | jonathanj |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | web | Keywords: | |
| Cc: | jknight | Branch: |
branches/cookie-agent-4922
(diff, github, buildbot, log) |
| Author: | Gabriel Monroy, jonathanj | Launchpad Bug: |
Description
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.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

