My vote is for using libsoup to fix this, I think, since it supports asynchronous I/O (which urllib2 doesn't) and also supports direct control of HTTP headers (which GIO doesn't), as well as having gobject-introspection bindings.
My vote is for using libsoup to fix this, I think, since it supports asynchronous I/O (which urllib2 doesn't) and also supports direct control of HTTP headers (which GIO doesn't), as well as having gobject- introspection bindings.