Subject: | Allow configuration of WWW::Mechanize + share the mech object. |
I've hit a bug with keep_alive + https in LWP which effects Net::GitHub. See https://rt.cpan.org/Ticket/Display.html?id=82375
The Net::GitHub configuration looks sensible, and the bug transient, so it would be nice if a user could control the creation of the user agent. It's a little hard to control as that right now as its in a role, but I can probably make it work.
Additionally, right now each object gets its own mech object. That seems wasteful. I'd like to change it so, by default, they all share the same mech object.
What do you think about that?
The Net::GitHub configuration looks sensible, and the bug transient, so it would be nice if a user could control the creation of the user agent. It's a little hard to control as that right now as its in a role, but I can probably make it work.
Additionally, right now each object gets its own mech object. That seems wasteful. I'd like to change it so, by default, they all share the same mech object.
What do you think about that?