[Web-SIG] Client-side support: what are we aiming for?
ianb at colorstudy.com
Thu Oct 23 21:10:26 EDT 2003
On Thursday, October 23, 2003, at 07:46 PM, John J Lee wrote:
> I've been working on that kind of stuff.
> I certainly think automatic cookie handling would be appropriate for
> std lib. I've written code to do that (based on a port from
> but substantially changed since then), which is already integrated into
> urllib2 (albeit ATM including a lot of junk for backwards-compatibility
> and some cut-n-pasting necessary because it's not (yet) actually part
> the Python standard library). The only problem is that it's rather
> I claim this is (mostly) not my fault ;-) because the cookie standards
> a royal mess. For a number of reasons, it will be significantly
> in the form I hope will get into the Python standard lib., but it'll
> be bigish.
How big can it really be? I don't see how that would be a problem.
Cookies suck, they act all funny and always seem unpredictable. If
your library can hide that, great! It's certainly not worth
simplifying the code if it means making the library less robust.
I'm all for hiding crufty stuff behind simpler interfaces. If the
cruft leaks out that might be an issue, but you probably have a more
informed opinion about whether you have been able to keep it in or not.
Ian Bicking | ianb at colorstudy.com | http://blog.ianbicking.org
More information about the Web-SIG